summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-08 18:26:47 +0800
committerSaul Wold <sgw@linux.intel.com>2013-08-09 08:54:47 -0700
commit5c11cf4db8f43003fb7132b92a78659f70f07ce0 (patch)
treeb01ba087a6186ad9c8130d17c3e29e2f8785ebd8
parentb278ec950088b465860b6c7797707fe973973956 (diff)
downloadopenembedded-core-5c11cf4db8f43003fb7132b92a78659f70f07ce0.tar.gz
openembedded-core-5c11cf4db8f43003fb7132b92a78659f70f07ce0.tar.bz2
openembedded-core-5c11cf4db8f43003fb7132b92a78659f70f07ce0.zip
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 <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-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 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