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

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