dracut/0025-dracut-pre-mount.service-should-run-before-systemd-f.patch

24 lines
952 B
Diff
Raw Normal View History

From e860ef0e308364df3070d866950782544eb11950 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 7 Jul 2015 13:45:19 +0200
Subject: [PATCH] dracut-pre-mount.service should run before
systemd-fsck-root.service
---
modules.d/98dracut-systemd/dracut-pre-mount.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/98dracut-systemd/dracut-pre-mount.service b/modules.d/98dracut-systemd/dracut-pre-mount.service
index 96ea995..1e4e29f 100644
--- a/modules.d/98dracut-systemd/dracut-pre-mount.service
+++ b/modules.d/98dracut-systemd/dracut-pre-mount.service
@@ -11,7 +11,7 @@
Description=dracut pre-mount hook
Documentation=man:dracut-pre-mount.service(8)
DefaultDependencies=no
-Before=initrd-root-fs.target sysroot.mount
+Before=initrd-root-fs.target sysroot.mount systemd-fsck-root.service
After=dracut-initqueue.service
After=cryptsetup.target
ConditionPathExists=/usr/lib/initrd-release