]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/initrd-switch-root.target: run switch-root.target after cryptsetup
authorHarald Hoyer <harald@redhat.com>
Mon, 24 Sep 2012 11:12:42 +0000 (13:12 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 24 Sep 2012 11:12:42 +0000 (13:12 +0200)
Ensure, that all crypto devices have been queried.

modules.d/98systemd/initrd-switch-root.target

index 74647a5e0f0908b11ba63c71dbe8f5e5f3ba7adb..05e0117fb10ee27c2da71a294dd34863d96a3487 100644 (file)
@@ -12,6 +12,7 @@ Description=Switch Root
 DefaultDependencies=no
 Requires=initrd-switch-root.service
 Before=initrd-switch-root.service
+After=cryptsetup.target
 AllowIsolate=yes
 Wants=systemd-journald.service
 ConditionPathExists=/etc/initrd-release