On 06/19/2013 02:37 PM, rongqing...@windriver.com wrote:
From: "Roy.Li" <rongqing...@windriver.com>
enable read-only-rootfs to make /tmp be able to be written when using sysvinit
Signed-off-by: Roy.Li <rongqing...@windriver.com>
---
meta/classes/image-live.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index bfb59f8..3f203d1 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -9,6 +9,8 @@ LABELS_append = " ${SYSLINUX_LABELS} "
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
+IMAGE_FEATURES_append = " read-only-rootfs"
+
This will result in installation of a read-only-rootfs image by default
if we use this live image as an installer.
We should use aufs in live image. Note that the unionfs has been
disabled for more than a year.
See https://bugzilla.yoctoproject.org/show_bug.cgi?id=4761 for more info.
Best Regards,
Chen Qi
do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
do_bootimg[depends] += "${PN}:do_rootfs"
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core