summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-08 18:26:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-12 13:09:53 +0100
commit5695ec80f53c965f03ebb05a8c46ddfdc2663f9e (patch)
treefed8a197ae35cc3de9f5a96a6306ebc376650f2d
parent3d1a60a42ad4f634acdd01e53ab1f460243351f9 (diff)
downloadpoky-5695ec80f53c965f03ebb05a8c46ddfdc2663f9e.tar.gz
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. (From OE-Core rev: 5c11cf4db8f43003fb7132b92a78659f70f07ce0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
22exec 9< /etc/fstab 22exec 9< /etc/fstab
23rootmode=rw 23rootmode=rw
24rootopts=rw 24rootopts=rw
25rootcheck=no 25rootcheck=$ENABLE_ROOTFS_FSCK
26swap_on_md=no 26swap_on_md=no
27devfs= 27devfs=
28while read fs mnt type opts dump pass junk <&9 28while read fs mnt type opts dump pass junk <&9