summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-12-17 14:54:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-12 14:25:14 +0000
commitb2990440f2f4040fc92740712fd4b414d20eb6df (patch)
treeb58315b8e145881f55dba09c08657b96f6f22372 /meta/recipes-core
parentb21e49829f1fbe0bb7dffa0caf7c9d46b3fea042 (diff)
downloadpoky-b2990440f2f4040fc92740712fd4b414d20eb6df.tar.gz
initscripts: use quotes for shell variable comparision
Helps to execute it with busybox shell (From OE-Core rev: 42972452191b47802b460b0e6a3044d4621de6c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 45ba0ca0352bca46f974d28781ac935d8e9ec3ea) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/checkroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh
index 02f0351fcb..a63e71b780 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh
@@ -74,7 +74,7 @@ test "$VERBOSE" != no && echo "Activating swap"
74# 74#
75# Check the root filesystem. 75# Check the root filesystem.
76# 76#
77if test -f /fastboot || test $rootcheck = no 77if test -f /fastboot || test "$rootcheck" = "no"
78then 78then
79 test $rootcheck = yes && echo "Fast boot, no filesystem check" 79 test $rootcheck = yes && echo "Fast boot, no filesystem check"
80else 80else