Blame SOURCES/0180-iscsi-correctly-install-the-timeout-iscsiroot-dummy-.patch

712866
From b66bfd5b98d3e8411df2ebfa1390d81dc5f83c09 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Wed, 11 Jun 2014 14:55:11 +0200
712866
Subject: [PATCH] iscsi: correctly install the timeout iscsiroot dummy call
712866
712866
initqueue parses $1 as the executable command
712866
712866
(cherry picked from commit 486a8f33e2edaf249e3a09c98a910094e201cf9e)
712866
---
712866
 modules.d/95iscsi/parse-iscsiroot.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh
5c6c2a
index 4be9d561..52a4805a 100755
712866
--- a/modules.d/95iscsi/parse-iscsiroot.sh
712866
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
712866
@@ -64,7 +64,7 @@ if [ -n "$iscsi_firmware" ] ; then
712866
     netroot=${netroot:-iscsi:}
712866
     modprobe -q iscsi_boot_sysfs 2>/dev/null
712866
     modprobe -q iscsi_ibft
712866
-    initqueue --onetime --timeout "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'"
712866
+    initqueue --onetime --timeout /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'"
712866
 fi
712866
 
712866
 # If it's not iscsi we don't continue