forked from pool/systemd-rpm-macros
- Restore the check that prevents systemd-tmpfiles to run during transactional updates
The check has been mistakenly dropped during the switch to file-triggers. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=96
This commit is contained in:
parent
25a2295a3a
commit
8cd9f77cbf
@ -226,7 +226,7 @@ fi \
|
||||
|
||||
%tmpfiles_create() \
|
||||
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# tmpfiles_create}} \
|
||||
[ -d /run/systemd/system ] && [ -x /usr/bin/systemd-tmpfiles ] && \
|
||||
[ -z "${TRANSACTIONAL_UPDATE}" ] && [ -x /usr/bin/systemd-tmpfiles ] && \
|
||||
/usr/bin/systemd-tmpfiles --create %{?*} || : \
|
||||
%{nil}
|
||||
|
||||
@ -273,7 +273,7 @@ SYSTEMD_INLINE_EOF\
|
||||
#
|
||||
%sysusers_create_package() \
|
||||
%{expand:%%{?!__systemd_twoargs_%#:%%{error:The %%%%sysusers_create_package macro requires two arguments}}} \
|
||||
[ -x /usr/bin/systemd-sysusers ] && \
|
||||
[ -z "${TRANSACTIONAL_UPDATE}" ] && [ -x /usr/bin/systemd-tmpfiles ] && \
|
||||
/usr/bin/systemd-sysusers --replace=%_sysusersdir/%1.conf - <<SYSTEMD_INLINE_EOF || : \
|
||||
%(cat %2) \
|
||||
SYSTEMD_INLINE_EOF\
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 16 13:00:59 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Restore the check that prevents systemd-tmpfiles to run during transactional updates
|
||||
|
||||
The check has been mistakenly dropped during the switch to file-triggers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 09:21:26 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user