]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(systemd-tmpfiles): copy 20-systemd-stub.conf into the initrd
authorJo Zzsi <jozzsicsataban@gmail.com>
Tue, 10 Dec 2024 19:11:13 +0000 (14:11 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 11 Dec 2024 00:40:24 +0000 (19:40 -0500)
Some of the tmpfiles to be managed during initrd phase are now
described in a separate tmpfiles.d snippet, see
https://github.com/systemd/systemd/commit/408ab988dbf6723871afd3503d11bd0deb50f846

Fixes: https://github.com/dracut-ng/dracut-ng/issues/1046
modules.d/01systemd-tmpfiles/module-setup.sh

index 3643ed495c5476b2ad9118625598c726834a4b53..117568c7a23acc46ae6a6343b0f89415437e4d06 100755 (executable)
@@ -27,6 +27,7 @@ install() {
         "$tmpfilesdir/static-nodes-permissions.conf" \
         "$tmpfilesdir/systemd-tmp.conf" \
         "$tmpfilesdir/systemd.conf" \
+        "$tmpfilesdir/20-systemd-stub.conf" \
         "$tmpfilesdir/var.conf" \
         "$systemdsystemunitdir"/systemd-tmpfiles-clean.service \
         "$systemdsystemunitdir/systemd-tmpfiles-clean.service.d/*.conf" \