- Make sure to skip the call to systemd-tmpfile in the file-triggers when

running on transaction systems

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1395
This commit is contained in:
Franck Bui 2023-06-16 14:42:32 +00:00 committed by Git OBS Bridge
parent fc3530d75c
commit 3dede0e3d9
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 16 14:38:33 UTC 2023 - Franck Bui <fbui@suse.com>
- Make sure to skip the call to systemd-tmpfile in the file-triggers when
running on transaction systems
-------------------------------------------------------------------
Thu Jun 1 15:58:24 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -102,7 +102,9 @@ end
-- This script will process files installed in /usr/lib/tmpfiles.d to create
-- tmpfiles automatically. The priority is set such that it will run
-- after the sysusers file trigger, but before any other triggers.
assert(rpm.execute("systemd-tmpfiles", "--create"))
if os.getenv("TRANSACTIONAL_UPDATE") == nil then
assert(rpm.execute("systemd-tmpfiles", "--create"))
endf
%if %{without bootstrap}
%transfiletriggerin -P 1000600 -n udev -p <lua> -- /usr/lib/udev/rules.d