Blame SOURCES/0428-systemd-dracut-initqueue.sh-don-t-go-into-emergency.patch

18971c
From 4c5f1b3b4a3b303b3eb19b0a16122b4fc552e089 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Thu, 30 Jun 2016 16:33:18 +0200
18971c
Subject: [PATCH] systemd/dracut-initqueue.sh: don't go into emergency
18971c
18971c
let systemd go into emergency.target later on
18971c
---
18971c
 modules.d/98systemd/dracut-initqueue.sh | 6 +-----
18971c
 1 file changed, 1 insertion(+), 5 deletions(-)
18971c
18971c
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
18971c
index 5822556b..c12531e2 100755
18971c
--- a/modules.d/98systemd/dracut-initqueue.sh
18971c
+++ b/modules.d/98systemd/dracut-initqueue.sh
18971c
@@ -68,11 +68,7 @@ while :; do
18971c
 
18971c
     main_loop=$(($main_loop+1))
18971c
     if [ $main_loop -gt $RDRETRY ]; then
18971c
-        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
18971c
-            action_on_fail "Could not boot." && break
18971c
-        fi
18971c
-        warn "Not all disks have been found."
18971c
-        warn "You might want to regenerate your initramfs."
18971c
+        # let systemd go into emergency mode, if it cannot boot
18971c
         break
18971c
     fi
18971c
 done