From 5695ec80f53c965f03ebb05a8c46ddfdc2663f9e Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 8 Aug 2013 18:26:47 +0800 Subject: [PATCH] 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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