summaryrefslogtreecommitdiffstats
path: root/system/skeleton
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-10-22 16:36:18 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-10-25 01:24:11 +0200
commitbcb835b042d385bac801e00cff2f1dbacff93629 (patch)
tree14157f1bcfffeed2365e2eb58ef07f084e0789c2 /system/skeleton
parentbb6fae779128bbff042464b18b6a4a1d50de2d99 (diff)
downloadbuildroot-bcb835b042d385bac801e00cff2f1dbacff93629.tar.gz
buildroot-bcb835b042d385bac801e00cff2f1dbacff93629.zip
system/inittab: update to fix bug #7442
Update inittabs (skeleton/busybox & sysvinit) to remove the trailing REMOUNT_ROOTFS_RW comment used as magic string in system/system.mk to enable/disable remounting the root filesystem rw or not since it affects sysvinit in doing so properly as reported in bug #7442. Instead update the sed expressions to match clean non-commented strings by searching for "-o remount,rw /" and checking that's the end of the line as well to avoid affecting possibly other remounts that a user can have in a custom inittab. Long-term the startup block of inittab should just move to a S00sysinit script or similar so that rcS can pick it up directly. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'system/skeleton')
-rw-r--r--system/skeleton/etc/inittab2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/skeleton/etc/inittab b/system/skeleton/etc/inittab
index 85881f4607..99d84e4cc5 100644
--- a/system/skeleton/etc/inittab
+++ b/system/skeleton/etc/inittab
@@ -15,7 +15,7 @@
# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
-null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
+null::sysinit:/bin/mount -o remount,rw /
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
OpenPOWER on IntegriCloud