From: "Roy.Li" <[email protected]>

enable read-only-rootfs to make /tmp be able to be written when using sysvinit

Signed-off-by: Roy.Li <[email protected]>
---
 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"
+
 do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
 do_bootimg[depends] += "${PN}:do_rootfs"
 
-- 
1.7.10.4

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to