Skip to contentSkip to conversation

checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

PATCH New [email protected] 1 participant 2 messages Aug 8, 2013

lore
Share & tools
lore
#0 lore raw

cover checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

From: Chen Qi <[email protected]>

The following changes since commit f63e7f4323368c0d6fe7a1d44393a7e15652d4f2:

subversion: Add patch to use neon 0.30 (2013-08-07 07:43:47 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/sysv-fsck
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sysv-fsck

Chen Qi (1):
checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

 .../initscripts/initscripts-1.0/checkroot.sh       |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

From: Chen Qi <[email protected]>

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.

---
 .../initscripts/initscripts-1.0/checkroot.sh       |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh +1 -1
index ac21ee4..cf84cfa 100755
@@ -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
Signature · 1 line
1.7.9.5