From 0b4af5f3e6c92ae8194447b027202c1933f47dd9 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Sun, 6 Jan 2013 17:02:45 +0800 Subject: sysvinit: add ROOTFS_READ_ONLY variable to rcS-default This variable indicates whether the rootfs is intended to be read-only or not. Changing this value from 'no' to 'yes' on a currently running system with read-write rootfs and rebooting will give the user a working system with read-only rootfs. However, it is not suggested to change its value. Normally, if a read-only rootfs is required, we should build an image with 'read-only-rootfs' image feature. [YOCTO #3406] Signed-off-by: Chen Qi Signed-off-by: Saul Wold --- meta/recipes-core/sysvinit/sysvinit/rcS-default | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-core/sysvinit/sysvinit') diff --git a/meta/recipes-core/sysvinit/sysvinit/rcS-default b/meta/recipes-core/sysvinit/sysvinit/rcS-default index 3c9dea90c4..709cdf6ec5 100644 --- a/meta/recipes-core/sysvinit/sysvinit/rcS-default +++ b/meta/recipes-core/sysvinit/sysvinit/rcS-default @@ -23,3 +23,7 @@ FSCKFIX=yes #TICKADJ=10000 # Enable caching in populate-volatile.sh VOLATILE_ENABLE_CACHE=yes +# Indicate whether the rootfs is intended to be read-only or not. +# Setting ROOTFS_READ_ONLY to yes and rebooting will give you a read-only rootfs. +# Normally you should not change this value. +ROOTFS_READ_ONLY=no -- cgit 1.2.3-korg