mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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] (From OE-Core rev: 0b4af5f3e6c92ae8194447b027202c1933f47dd9) 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:
@@ -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
|
||||
|
||||
@@ -5,7 +5,7 @@ SECTION = "base"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
||||
file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
|
||||
PR = "r9"
|
||||
PR = "r10"
|
||||
|
||||
RDEPENDS_${PN} = "${PN}-inittab"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user