summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-01-17 20:21:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-17 20:16:46 +0000
commit3db277b18b8923daca545aa53bcfbbe9d43d3baa (patch)
treebe8b83b1e43049621c99aecfea31a4502cb9e381 /meta/recipes-core
parent200743b89e3af877ccd75cb9227403a98498daec (diff)
downloadast2050-yocto-poky-3db277b18b8923daca545aa53bcfbbe9d43d3baa.zip
ast2050-yocto-poky-3db277b18b8923daca545aa53bcfbbe9d43d3baa.tar.gz
update-rc.d: fix failure on target
The problem happened because the variables given to -n were not surounded by quotes. (From OE-Core rev: 98f17da7ccc1bf79fc5894f90e52769bdbcf89df) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch b/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch
index 4476e91..6f402dd 100644
--- a/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch
+++ b/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch
@@ -24,10 +24,10 @@ Index: git/update-rc.d
shift
+sn=$initd/$bn
-+if [ -L "$sn" -a -n $root ]; then
++if [ -L "$sn" -a -n "$root" ]; then
+ readlink=$(which readlink)
+
-+ if [ -n $readlink ]; then
++ if [ -n "$readlink" ]; then
+ sn=$($readlink "$sn")
+ case "$sn" in
+ /*) sn=${root}${sn} ;;
OpenPOWER on IntegriCloud