From: Wenzong Fan <wenzong....@windriver.com> Fix checkroot.sh issue while booting: sh: no: unknown operand
Signed-off-by: Wenzong Fan <wenzong....@windriver.com> --- meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh index c879f9e519..bf6136cc42 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh @@ -74,9 +74,9 @@ test "$VERBOSE" != no && echo "Activating swap" # # Check the root filesystem. # -if test -f /fastboot || test $rootcheck = no +if test -f /fastboot || test "$rootcheck" = no then - test $rootcheck = yes && echo "Fast boot, no filesystem check" + test "$rootcheck" = yes && echo "Fast boot, no filesystem check" else # # Ensure that root is quiescent and read-only before fsck'ing. -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core