]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(systemd-sysext): package initrd.target.wants symlinks
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 11 Aug 2025 09:34:56 +0000 (11:34 +0200)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 11 Aug 2025 10:26:06 +0000 (06:26 -0400)
Systemd-258 provides the 'initrd.target.wants' symlinks for systemd-confext/
systemd-sysext initrd services. Include them to the image when present.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
modules.d/11systemd-sysext/module-setup.sh

index 8d4032bbc1e0df8ab923349a8444aeca39b83119..59a303fcdbb4f5f5403730821d69bdebb36ca19e 100755 (executable)
@@ -47,6 +47,8 @@ install() {
         "$systemdsystemunitdir/systemd-confext${_suffix}.service.d/*.conf" \
         "$systemdsystemunitdir"/systemd-sysext${_suffix}.service \
         "$systemdsystemunitdir/systemd-sysext${_suffix}.service.d/*.conf" \
+        "$systemdsystemunitdir"/initrd.target.wants/systemd-confext${_suffix}.service \
+        "$systemdsystemunitdir"/initrd.target.wants/systemd-sysext${_suffix}.service \
         systemd-confext systemd-sysext
 
     # Enable systemd type unit(s)