]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: add a hook funtion to support readonly rootfs
authorChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jan 2013 02:34:09 +0000 (10:34 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:19:50 +0000 (11:19 +0000)
commitcae51a169e37b54becc08162aaa643acd53ffe2f
tree494f62005ced71625df56f8f91d97fec176647a9
parentbb55cc3dc96a391bd9bc561c08c1cca3b11296b6
image.bbclass: add a hook funtion to support readonly rootfs

read_only_rootfs_hook: this funtion is invoked only if 'read-only-rootfs'
is in IMAGE_FEATURES. It tweaks some basic files and makes populate-
volatile.sh script run at rootfs time.

For now, it has real effect only if the init system is sysvinit.

[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/image.bbclass