File triggers.systemd.patch of Package systemd
diff --git triggers.systemd triggers.systemd.new
index d5565f6..8322289 100644
--- triggers.systemd
+++ triggers.systemd.new
@@ -59,12 +59,14 @@ assert(rpm.execute("systemd-hwdb", "update"))
-- have been installed or updated in /usr/lib/systemd/catalog.
assert(rpm.execute("journalctl", "--update-catalog"))
-%transfiletriggerin -P 1000700 -p <lua> -- /usr/lib/binfmt.d
+%if %{without bootstrap}
+%transfiletriggerin -P 1000700 -n udev -p <lua> -- /usr/lib/binfmt.d
-- This script will automatically apply binfmt rules if files have been
-- installed or updated in /usr/lib/binfmt.d.
if posix.access("/run/systemd/system") then
assert(rpm.execute("/usr/lib/systemd/systemd-binfmt"))
end
+%endif
%transfiletriggerin -P 1000600 -p <lua> -- /usr/lib/tmpfiles.d
-- This script will process files installed in /usr/lib/tmpfiles.d to create
@@ -84,9 +86,11 @@ if posix.access("/run/udev/control") then
end
%endif
-%transfiletriggerin -P 1000500 -p <lua> -- /usr/lib/sysctl.d
+%if %{without bootstrap}
+%transfiletriggerin -P 1000500 -n udev -p <lua> -- /usr/lib/sysctl.d
-- This script will automatically apply sysctl rules if files have been
-- installed or updated in /usr/lib/sysctl.d.
if posix.access("/run/systemd/system") then
assert(rpm.execute("/usr/lib/systemd/systemd-sysctl"))
end
+%endif