checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK
authorChen Qi <Qi.Chen@windriver.com>
Thu, 8 Aug 2013 10:26:47 +0000 (18:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Aug 2013 12:09:53 +0000 (13:09 +0100)
commit202085f609d225e1f14c7c7ddc594f11cefa2dcd
tree1d1b659fd7c75581df930c9e0ba5b8b2fa3e8d8c
parentf43530c170e7bd8353f0eb395db8186ac9a4303a
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>
meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh