[OE-core] [PATCH V5 1/4] sysvinit: add ROOTFS_READ_ONLY variable to rcS-default
Otavio Salvador
otavio at ossystems.com.br
Tue Jan 1 18:07:55 UTC 2013
On Mon, Dec 31, 2012 at 12:16 AM, <Qi.Chen at windriver.com> wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
>
> 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 <Qi.Chen at windriver.com>
> ---
> meta/recipes-core/sysvinit/sysvinit/rcS-default | 4 ++++
> meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/sysvinit/sysvinit/rcS-default b/meta/recipes-core/sysvinit/sysvinit/rcS-default
> index 3c9dea9..88907a5 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
> \ No newline at end of file
Please add a newline at the end of the fine.
> diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> index de073b8..bf6a29b 100644
> --- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> +++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> @@ -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"
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-core
mailing list