Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V6 0/6] read-only rootfs support
@ 2013-01-06  9:44 Qi.Chen
  2013-01-06  9:44 ` [PATCH V6 1/6] sysvinit: add ROOTFS_READ_ONLY variable to rcS-default Qi.Chen
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Qi.Chen @ 2013-01-06  9:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

The series of patches add support to read-only rootfs.

The main idea is to use symbolic links to create the illuion that some
directories are writable in case of a read-only rootfs.

This set of patches have been tested on minimal images with and without
'read-only-rootfs' image feature enabled. Everything is OK.

For sato images, everything is the same as before if 'read-only-rootfs' is not enabled.
With 'read-only-rootfs' enabled, sato image could work if graphic interface is diabled.
When all postinstall problems are resolved, sato image should work well (maybe with some
small changes in volatiles-readonly-sato conf file).

Changes for Version 4:
1) Improve the commit messages to be clearer.
2) Use 'sed -i' to replace 'sed' and 'mv' operations to cut down the exec overhead.

Changes for Version 5:
Fix the problem of failing to build the live images

Changes for Version 6:
1) Let the image recipes provide the corresponding conf files for read-only rootfs.
   The config files are closely related to the image types, so it's more reasonable
   to let these image recipes provide the config files.
2) Support customized conf files for customized images.


The following changes since commit 4a36a32567ecfbc7ce7b967803e6e23314953ef5:

  libpng: fix packaging (2012-12-26 11:34:09 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/readonly-rootfs
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/readonly-rootfs

Chen Qi (6):
  sysvinit: add ROOTFS_READ_ONLY variable to rcS-default
  image.bbclass: add two funtions to support readonly rootfs
  core-image.bbclass: support read-only rootfs
  initscripts: support read-only rootfs
  core-image-minimal: support read-only rootfs
  core-image-sato: support read-only rootfs

 meta/classes/core-image.bbclass                    |    5 +-
 meta/classes/image.bbclass                         |   29 +-
 meta/recipes-core/images/core-image-minimal.bb     |   10 +
 .../images/files/volatiles-readonly-minimal        |    8 +
 .../initscripts/initscripts-1.0/bootmisc.sh        |    9 +-
 .../initscripts-1.0/populate-volatile.sh           |  281 ++++++++++----------
 .../initscripts/initscripts-1.0/volatiles          |    1 +
 meta/recipes-core/initscripts/initscripts_1.0.bb   |    5 +-
 meta/recipes-core/sysvinit/sysvinit/rcS-default    |    4 +
 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb     |    2 +-
 meta/recipes-sato/images/core-image-sato.bb        |    8 +
 .../images/files/volatiles-readonly-sato           |   14 +
 12 files changed, 215 insertions(+), 161 deletions(-)
 create mode 100644 meta/recipes-core/images/files/volatiles-readonly-minimal
 create mode 100644 meta/recipes-sato/images/files/volatiles-readonly-sato

-- 
1.7.9.5




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

end of thread, other threads:[~2013-01-14  2:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-06  9:44 [PATCH V6 0/6] read-only rootfs support Qi.Chen
2013-01-06  9:44 ` [PATCH V6 1/6] sysvinit: add ROOTFS_READ_ONLY variable to rcS-default Qi.Chen
2013-01-06  9:44 ` [PATCH V6 2/6] image.bbclass: add two funtions to support readonly rootfs Qi.Chen
2013-01-11 23:33   ` Saul Wold
2013-01-14  2:34     ` ChenQi
2013-01-06  9:44 ` [PATCH V6 3/6] core-image.bbclass: support read-only rootfs Qi.Chen
2013-01-06  9:52   ` Martin Jansa
2013-01-07  3:14     ` ChenQi
2013-01-06  9:44 ` [PATCH V6 4/6] initscripts: " Qi.Chen
2013-01-06  9:44 ` [PATCH V6 5/6] core-image-minimal: " Qi.Chen
2013-01-06  9:44 ` [PATCH V6 6/6] core-image-sato: " Qi.Chen
2013-01-06 19:05   ` Otavio Salvador
2013-01-07  3:06     ` ChenQi
2013-01-07 10:30       ` Otavio Salvador
2013-01-08  2:22         ` ChenQi
2013-01-11 23:32           ` Saul Wold
2013-01-14  2:35             ` ChenQi

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