diff --git a/units/systemd-confext-initrd.service b/units/systemd-confext-initrd.service index 4655018567..22461fa712 100644 --- a/units/systemd-confext-initrd.service +++ b/units/systemd-confext-initrd.service @@ -24,8 +24,8 @@ Before=local-fs-pre.target cryptsetup-pre.target systemd-tmpfiles-setup.service Wants=local-fs-pre.target cryptsetup-pre.target Conflicts=initrd-switch-root.target Before=initrd-switch-root.target -Wants=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service -After=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service +Wants=modprobe@loop.service modprobe@dm_mod.service +After=modprobe@loop.service modprobe@dm_mod.service [Service] Type=oneshot diff --git a/units/systemd-sysext-initrd.service b/units/systemd-sysext-initrd.service index 4f0b8ff4de..f21990aad0 100644 --- a/units/systemd-sysext-initrd.service +++ b/units/systemd-sysext-initrd.service @@ -23,8 +23,8 @@ Before=local-fs-pre.target cryptsetup-pre.target systemd-tmpfiles-setup.service Wants=local-fs-pre.target cryptsetup-pre.target Conflicts=initrd-switch-root.target Before=initrd-switch-root.target -Wants=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service -After=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service +Wants=modprobe@loop.service modprobe@dm_mod.service +After=modprobe@loop.service modprobe@dm_mod.service [Service] Type=oneshot