Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] create /usr/lib/locale dir and enable read-only-rootfs for live image
@ 2013-06-19  6:37 rongqing.li
  2013-06-19  6:37 ` [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE rongqing.li
  2013-06-19  6:37 ` [PATCH 2/2] base-files: create /usr/lib/locale dir rongqing.li
  0 siblings, 2 replies; 4+ messages in thread
From: rongqing.li @ 2013-06-19  6:37 UTC (permalink / raw)
  To: openembedded-core

From: "Roy.Li" <rongqing.li@windriver.com>

The following changes since commit ea31d45def0e9fc4ed1c1ef92756d807ff59fe72:

  core-image-weston: add weston-examples to the image (2013-06-18 16:43:16 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib roy/base-files-and-image-live
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/base-files-and-image-live

Roy.Li (2):
  image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE
  base-files: create /usr/lib/locale dir

 meta/classes/image-live.bbclass                   |    2 ++
 meta/recipes-core/base-files/base-files_3.0.14.bb |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE
  2013-06-19  6:37 [PATCH 0/2] create /usr/lib/locale dir and enable read-only-rootfs for live image rongqing.li
@ 2013-06-19  6:37 ` rongqing.li
  2013-06-24  2:48   ` ChenQi
  2013-06-19  6:37 ` [PATCH 2/2] base-files: create /usr/lib/locale dir rongqing.li
  1 sibling, 1 reply; 4+ messages in thread
From: rongqing.li @ 2013-06-19  6:37 UTC (permalink / raw)
  To: openembedded-core

From: "Roy.Li" <rongqing.li@windriver.com>

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

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] base-files: create /usr/lib/locale dir
  2013-06-19  6:37 [PATCH 0/2] create /usr/lib/locale dir and enable read-only-rootfs for live image rongqing.li
  2013-06-19  6:37 ` [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE rongqing.li
@ 2013-06-19  6:37 ` rongqing.li
  1 sibling, 0 replies; 4+ messages in thread
From: rongqing.li @ 2013-06-19  6:37 UTC (permalink / raw)
  To: openembedded-core

From: "Roy.Li" <rongqing.li@windriver.com>

Lsbtest shows that /usr/lib/locale dir is lost, so create it

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index ac85ed9..88d1ac9 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -49,7 +49,8 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
 dirs3755 = "/srv  \
             ${prefix}/local ${prefix}/local/bin ${prefix}/local/games \
             ${prefix}/local/include ${prefix}/local/lib ${prefix}/local/sbin \
-            ${prefix}/local/share ${prefix}/local/src"
+            ${prefix}/local/share ${prefix}/local/src \
+            ${prefix}/lib/locale"
 dirs4775 = "/var/mail"
 
 volatiles = "log tmp"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE
  2013-06-19  6:37 ` [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE rongqing.li
@ 2013-06-24  2:48   ` ChenQi
  0 siblings, 0 replies; 4+ messages in thread
From: ChenQi @ 2013-06-24  2:48 UTC (permalink / raw)
  To: openembedded-core

On 06/19/2013 02:37 PM, rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> enable read-only-rootfs to make /tmp be able to be written when using sysvinit
>
> Signed-off-by: Roy.Li <rongqing.li@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"
>   



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-24  2:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19  6:37 [PATCH 0/2] create /usr/lib/locale dir and enable read-only-rootfs for live image rongqing.li
2013-06-19  6:37 ` [PATCH 1/2] image-live.bbclass: enable read-only-rootfs IMAGE_FEATURE rongqing.li
2013-06-24  2:48   ` ChenQi
2013-06-19  6:37 ` [PATCH 2/2] base-files: create /usr/lib/locale dir rongqing.li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox