forked from pool/systemd-rpm-macros
- Revert previous changes
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=22
This commit is contained in:
parent
ecab9f8fb5
commit
b7d0b19728
@ -246,7 +246,7 @@ fi \
|
|||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
%tmpfiles_create() \
|
%tmpfiles_create() \
|
||||||
[ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \
|
[ -x /usr/bin/systemd-tmpfiles ] && \
|
||||||
/usr/bin/systemd-tmpfiles --create %{?*} || : \
|
/usr/bin/systemd-tmpfiles --create %{?*} || : \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
@ -1,9 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 17 09:23:14 UTC 2017 - fbui@suse.com
|
||||||
|
|
||||||
|
- Revert previous changes
|
||||||
|
|
||||||
|
Dirk Mueller please don't accept changes while we're discussing
|
||||||
|
about them...
|
||||||
|
|
||||||
|
Also added reasons why the previous changes would be needed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 17 07:44:55 CET 2017 - kukuk@suse.de
|
Fri Nov 17 07:44:55 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
- Don't execute systemd-tmpfiles if we run in transactional update
|
- Don't execute systemd-tmpfiles if we run in transactional update
|
||||||
mode
|
mode
|
||||||
|
|
||||||
|
If you do transactional updates, it doesn't make any sense to
|
||||||
|
execute the tmpfiles. They will only create a lot of directories,
|
||||||
|
files or symlinks in empty directories without any use and later
|
||||||
|
hidden under the real mount points. With transactional updates, you
|
||||||
|
should do such things always during the boot phase, as designed by
|
||||||
|
systemd (and like Fedora and RHEL doing, but in their use case it's
|
||||||
|
in my opinion a bug).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 2 16:09:29 UTC 2017 - fbui@suse.com
|
Thu Nov 2 16:09:29 UTC 2017 - fbui@suse.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user