Blame SOURCES/0181-iscsi-correctly-install-the-settled-iscsiroot-dummy-.patch

712866
From 98b104e88799ad461d9322faaee4c831d35c96c4 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Wed, 11 Jun 2014 14:58:55 +0200
712866
Subject: [PATCH] iscsi: correctly install the settled iscsiroot dummy call
712866
712866
initqueue parses $1 as the executable command
712866
712866
(cherry picked from commit bb8c16d12178373f17553294603ff5187e318b51)
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 52a4805a..b48be387 100755
712866
--- a/modules.d/95iscsi/parse-iscsiroot.sh
712866
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
712866
@@ -88,7 +88,7 @@ fi
712866
 
712866
 if [ -n "$netroot" ] && [ "$root" != "/dev/root" ] && [ "$root" != "dhcp" ]; then
712866
     if ! getargbool 1 rd.neednet >/dev/null || ! getarg "ip="; then
712866
-        initqueue --onetime --settled "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'"
712866
+        initqueue --onetime --settled /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'"
712866
     fi
712866
 fi
712866