summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--units/systemd-repart.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-repart.service.in b/units/systemd-repart.service.in
index 92e0a9b3cd..105be680cd 100644
--- a/units/systemd-repart.service.in
+++ b/units/systemd-repart.service.in
@@ -12,7 +12,8 @@ Description=Repartition Root Disk
Documentation=man:systemd-repart.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
-After=initrd-usr-fs.target
+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 shutdown.target
ConditionVirtualization=!container
ConditionDirectoryNotEmpty=|/usr/lib/repart.d