From: ChenQi <Qi.Chen@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: Zhenfeng.Zhao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V2 0/2] read-only rootfs support
Date: Tue, 25 Dec 2012 17:23:45 +0800 [thread overview]
Message-ID: <50D970A1.1020806@windriver.com> (raw)
In-Reply-To: <20121225081912.GU8988@jama.palm1.palmone.com>
On 12/25/2012 04:19 PM, Martin Jansa wrote:
> On Tue, Dec 25, 2012 at 10:55:03AM +0800, Qi.Chen@windriver.com wrote:
>> From: Chen Qi<Qi.Chen@windriver.com>
>>
>> Add read-only rootfs support to sysvinit startup system.
>> The main changes are:
>> 1) Let rootfs_xxx.bbclass support 'read-only-rootfs' image feature.
>> If IMAGE_FEATURES contains 'read-only-rootfs', then the populate-volatile.sh
>> script is run at rootfs time to set up basic directories and files.
>> 2) Improve the populate-volatile.sh init script.
>> 3) Add two config files specific to read-only-rootfs image, which are to be used
>> by the populate-volatile.sh script.
>> 4) Automatically adjust the mount options in fstab when 'read-only-rootfs' is in
>> IMAGE_FEATURES.
>>
>> Version 2 fixes a problem version one has, that is, if we build an image without
>> 'read-only-rootfs' image feature after we built one that has this feature, the
>> mount options in fstab is wrong.
> initscripts recipe still have that issue.
>
> Cheers,
Yes, you're right.
If we build an image without 'read-only-rootfs' image feature after we
built one that has, all symbolic links used for an read-only-rootfs
image should be removed and corresponding directories should be created.
Thanks a lot for your review and reply. I'll fix this problem and send
out a V3.
Best Regards,
Chen Qi
>> The following changes since commit 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a:
>>
>> rootfs_rpm.bbclass: remove debug code (2012-12-19 21:43:55 +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 (2):
>> initscripts: support read-only rootfs
>> rootfs_xxx.bbclass: support read-only-rootfs image feature
>>
>> meta/classes/rootfs_deb.bbclass | 14 +
>> meta/classes/rootfs_ipk.bbclass | 15 ++
>> meta/classes/rootfs_rpm.bbclass | 20 +-
>> meta/recipes-core/base-files/base-files_3.0.14.bb | 8 +-
>> .../initscripts/initscripts-1.0/bootmisc.sh | 9 +-
>> .../initscripts-1.0/populate-volatile.sh | 285 ++++++++++----------
>> .../initscripts/initscripts-1.0/volatiles | 1 +
>> .../initscripts-1.0/volatiles-readonly-minimal | 23 ++
>> .../initscripts-1.0/volatiles-readonly-sato | 30 +++
>> meta/recipes-core/initscripts/initscripts_1.0.bb | 15 +-
>> 10 files changed, 265 insertions(+), 155 deletions(-)
>> create mode 100644 meta/recipes-core/initscripts/initscripts-1.0/volatiles-readonly-minimal
>> create mode 100644 meta/recipes-core/initscripts/initscripts-1.0/volatiles-readonly-sato
>>
>> --
>> 1.7.9.5
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
prev parent reply other threads:[~2012-12-25 9:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-24 7:54 [PATCH 0/2] read-only rootfs support Qi.Chen
2012-12-24 7:54 ` [PATCH 1/2] initscripts: support read-only rootfs Qi.Chen
2012-12-24 8:14 ` Martin Jansa
2012-12-24 8:24 ` ChenQi
2012-12-24 7:54 ` [PATCH 2/2] rootfs_xxx.bbclass: support read-only-rootfs image feature Qi.Chen
2012-12-25 8:19 ` [PATCH V2 0/2] read-only rootfs support Martin Jansa
2012-12-25 9:23 ` ChenQi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50D970A1.1020806@windriver.com \
--to=qi.chen@windriver.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.