From: Chen Qi Date: Thu, 8 Aug 2013 10:26:47 +0000 (+0800) Subject: checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK X-Git-Tag: 2015-4~5586 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5c11cf4db8f43003fb7132b92a78659f70f07ce0;p=openembedded-core.git checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK Previously, fsck is always disabled because the value of rootcheck in the checkroot.sh script is always set to 'no'. We should respect the value of ENABLE_ROOTFS_FSCK in /etc/default/rcS to allow for filesystem check. Signed-off-by: Chen Qi Signed-off-by: Saul Wold --- diff --git a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh index ac21ee41fa..cf84cfac5c 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh @@ -22,7 +22,7 @@ test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE exec 9< /etc/fstab rootmode=rw rootopts=rw -rootcheck=no +rootcheck=$ENABLE_ROOTFS_FSCK swap_on_md=no devfs= while read fs mnt type opts dump pass junk <&9