Accepting request 1093507 from Base:System

- Make sure to skip the call to systemd-tmpfile in the file-triggers when
  running on transaction systems

OBS-URL: https://build.opensuse.org/request/show/1093507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=393
This commit is contained in:
Dominique Leuenberger 2023-06-16 14:53:14 +00:00 committed by Git OBS Bridge
commit 195789fc91
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