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

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