dracut-systemd: add back missing dependencies

otherwise TEST-20-NFS fails
master
Harald Hoyer 2017-07-28 11:57:07 +02:00
parent 017978f868
commit b1ae591945
2 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,8 @@
Description=dracut pre-mount hook
Documentation=man:dracut-pre-mount.service(8)
DefaultDependencies=no
Before=sysroot.mount systemd-fsck-root.service
After=basic.target cryptsetup.target
Before=initrd-root-fs.target sysroot.mount systemd-fsck-root.service
After=dracut-initqueue.service cryptsetup.target
ConditionPathExists=/usr/lib/initrd-release
ConditionDirectoryNotEmpty=|/lib/dracut/hooks/pre-mount
ConditionKernelCommandLine=|rd.break=pre-mount

View File

@ -6,7 +6,8 @@
Description=dracut pre-pivot and cleanup hook
Documentation=man:dracut-pre-pivot.service(8)
DefaultDependencies=no
After=initrd.target initrd-parse-etc.service
After=initrd.target initrd-parse-etc.service sysroot.mount
After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service
Before=initrd-cleanup.service
Wants=remote-fs.target
After=remote-fs.target