diff --git a/units/systemd-repart.service.in b/units/systemd-repart.service.in index 5c04a21834..35c4ca8ca5 100644 --- a/units/systemd-repart.service.in +++ b/units/systemd-repart.service.in @@ -16,9 +16,6 @@ ConditionDirectoryNotEmpty=|/usr/lib/repart.d ConditionDirectoryNotEmpty=|/usr/local/lib/repart.d ConditionDirectoryNotEmpty=|/etc/repart.d ConditionDirectoryNotEmpty=|/run/repart.d -ConditionDirectoryNotEmpty=|/sysroot/usr/lib/repart.d -ConditionDirectoryNotEmpty=|/sysroot/usr/local/lib/repart.d -ConditionDirectoryNotEmpty=|/sysroot/etc/repart.d ConditionDirectoryNotEmpty=|/sysusr/usr/lib/repart.d ConditionDirectoryNotEmpty=|/sysusr/usr/local/lib/repart.d @@ -26,8 +23,8 @@ DefaultDependencies=no Wants=modprobe@loop.service modprobe@dm_mod.service After=initrd-usr-fs.target modprobe@loop.service modprobe@dm_mod.service Before=initrd-root-fs.target -Conflicts=shutdown.target -Before=shutdown.target +Conflicts=shutdown.target initrd-switch-root.target +Before=shutdown.target initrd-switch-root.target [Service] Type=oneshot