mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user