diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-09-11 13:01:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-11 11:05:05 +0100 |
commit | 4c3f8d206396d4f85792d5e92ab048217b3354b5 (patch) | |
tree | e25c7e01af517405e7a576599479358c450c98d3 /meta/conf | |
parent | b990585d38fdb3aceed7474b480ad10b3d21f566 (diff) | |
download | poky-4c3f8d206396d4f85792d5e92ab048217b3354b5.tar.gz |
init-live.sh: distinguish between a read-only image and a read-write image
The iso and hddimg share a common concept of 'live image', and they
use the same initramfs and thus the same init. However, that init
script in initramfs made a wrong assumption that the rootfs image
was read-only by itself. This is apparently not true for hddimg.
To make things work as expected, this init script should at least
distinguish between a read-only rootfs image and a read-write one.
This patch adds this ability to the init script. After this change,
the init script would be able to check whether the rootfs image is
read-only or not. If the rootfs image is read-write, the image will
be mounted and then booted directly. No union mounts will be attempted
in this case.
[YOCTO #5164]
(From OE-Core rev: 29f869b68a9017502f75915784a924f0fe9d4be1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
0 files changed, 0 insertions, 0 deletions