Blame SOURCES/0322-iscsi-parse-iscsiroot.sh-handle-firmware-in-online-q.patch

64b87c
From 7f59cbd31817c81fa5aec9f86c33dfe1ce23ec6a Mon Sep 17 00:00:00 2001
64b87c
From: Harald Hoyer <harald@redhat.com>
64b87c
Date: Tue, 25 Aug 2015 11:16:29 +0200
64b87c
Subject: [PATCH] iscsi/parse-iscsiroot.sh: handle firmware in online queue
64b87c
64b87c
---
64b87c
 modules.d/95iscsi/parse-iscsiroot.sh | 6 +++---
64b87c
 1 file changed, 3 insertions(+), 3 deletions(-)
64b87c
64b87c
diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh
1755ca
index e9444a5f..13a95023 100755
64b87c
--- a/modules.d/95iscsi/parse-iscsiroot.sh
64b87c
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
64b87c
@@ -79,11 +79,11 @@ if [ -n "$iscsi_firmware" ] || getargbool 0 rd.iscsi.ibft -d "ip=ibft"; then
64b87c
     modprobe -b -q iscsi_ibft
64b87c
     # if no ip= is given, but firmware
64b87c
     echo "[ -f '/tmp/iscsistarted-firmware' ]" > $hookdir/initqueue/finished/iscsi_started.sh
64b87c
-    initqueue --unique --onetime --timeout /sbin/iscsiroot timeout "$netroot" "$NEWROOT"
64b87c
-    initqueue --unique --onetime --settled /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'"
64b87c
+    initqueue --unique --online /sbin/iscsiroot online "iscsi:" "$NEWROOT"
64b87c
+    initqueue --unique --onetime --timeout /sbin/iscsiroot timeout "iscsi:" "$NEWROOT"
64b87c
+    initqueue --unique --onetime --settled /sbin/iscsiroot online "iscsi:" "'$NEWROOT'"
64b87c
 fi
64b87c
 
64b87c
-
64b87c
 [ -z "$netroot" ] || [ "${netroot%%:*}" = "iscsi" ] || return 1
64b87c
 
64b87c
 initqueue --unique --onetime --timeout /sbin/iscsiroot timeout "$netroot" "$NEWROOT"