diff options
author | Yang Shi <yang.shi@windriver.com> | 2012-04-10 18:33:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 12:15:16 +0100 |
commit | b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa (patch) | |
tree | 4801fa9d3224c59b555d2a0dd31d68ad4afc89ee /meta/classes/package.bbclass | |
parent | bcaea8ec9c9c333f76b368225f60d4fb54c1c7b2 (diff) | |
download | openembedded-core-b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa.tar.gz openembedded-core-b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa.tar.bz2 openembedded-core-b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa.zip |
initrdscripts: fix init-live.sh and use unionfs
[YOCTO #1487]
When booting up with liveCD image, init scripts can't work well on read-only filesystem. Unionfs,
which is supported in Yocto kernel, allows a filesystem to appear as writeable, but without
actually allowing writes to change the filesystem.
Use unionfs to mount rootfs and make root file system can be writen when using liveCD to boot up.
Set UNION_FS variable depending on kernel config, so that it can work with kernel which doesn't
have unionfs feature.
[RP: Mark recipe as machine specific due to kernel dependency]
Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
0 files changed, 0 insertions, 0 deletions