diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-12-17 14:54:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-09 09:17:16 +0000 |
commit | 462b69b0c61aa2facac1bbe9c1b2024e5c167af8 (patch) | |
tree | 0dcaad72b8ace061a1d5a92d4cbb76c73074496f /meta | |
parent | a297097cff482338aa6d46fa1dc1fb4a7594b6a5 (diff) | |
download | poky-462b69b0c61aa2facac1bbe9c1b2024e5c167af8.tar.gz |
initscripts: use quotes for shell variable comparision
Helps to execute it with busybox shell
(From OE-Core rev: 4e7338614f9c02a0a846645a51a78ddb69253f60)
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: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | 2 |
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 | # |
77 | if test -f /fastboot || test $rootcheck = no | 77 | if test -f /fastboot || test "$rootcheck" = "no" |
78 | then | 78 | then |
79 | test $rootcheck = yes && echo "Fast boot, no filesystem check" | 79 | test $rootcheck = yes && echo "Fast boot, no filesystem check" |
80 | else | 80 | else |