[oe-commits] Chen Qi : checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

git at git.openembedded.org git at git.openembedded.org
Mon Aug 12 12:03:03 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 5c11cf4db8f43003fb7132b92a78659f70f07ce0
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5c11cf4db8f43003fb7132b92a78659f70f07ce0

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Thu Aug  8 18:26:47 2013 +0800

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 at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../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 ac21ee4..cf84cfa 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



More information about the Openembedded-commits mailing list