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

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