]> code.ossystems Code Review - openembedded-core.git/commit
init-live.sh: make $ROOT_MOUNT/media writable when necessary
authorChen Qi <Qi.Chen@windriver.com>
Mon, 29 Jul 2013 02:05:04 +0000 (10:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:14 +0000 (11:14 +0100)
commitaeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe
treee084dd1bf40f9705defddb4890782590a59b0bc0
parentc5ef0294a9b8d178896a47c9f5d6e3dd6797e343
init-live.sh: make $ROOT_MOUNT/media writable when necessary

If the live image is mounted as read-only, we cannot make necessary
directories under $ROOT_MOUNT/media, so trying to move the mount points
lead to errors.

So in case that no unification filesystem mechanism is available in kernel
and the rootfs is mounted as read-only, we mount tmpfs on $ROOT_MOUNT/media
so that it's possible to make necessary directories under it.

[YOCTO #4881]
[YOCTO #4103]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-live.sh