generic-poky/meta/recipes-core
Chen Qi 4c3f8d2063 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>
2013-09-11 11:05:05 +01:00
..
base-files base-files: remove the unnecessary /media/xxx directories 2013-07-02 22:23:48 +01:00
base-passwd base-passwd: Add input group 2013-04-04 14:04:41 +01:00
busybox busybox-syslog: add configuration file /etc/syslog.conf 2013-09-06 23:03:21 +01:00
console-tools console-tools: fix linking when using the multilib compiler 2013-02-04 16:42:48 +00:00
coreutils coreutils: allow for acl support 2013-08-20 15:31:25 +01:00
dbus dbus-ptest: fix populate_sdk error 2013-09-10 23:03:07 +01:00
dbus-wait remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
dropbear dropbear: a fix for hang in dropbearkey, built for x32 2013-05-24 14:14:49 +01:00
eglibc eglibc: fix directory cleanup for 2.17 2013-08-26 13:19:41 +01:00
expat expat: update to upstream version 2.1.0 2012-05-16 07:34:28 +01:00
feed-config opkg-config-base/poky-feed-config-opkg: Always use ALL_MULTILIB_PACKAGE_ARCHS to build arch list 2012-04-16 12:52:10 +01:00
gettext gettext: update to upstream version 0.18.3.1 2013-08-26 16:29:18 +01:00
glib-2.0 glib-2.0: fix a host contamination issue 2013-09-04 14:15:58 +01:00
glib-networking glib-networking: update to 2.36.2 2013-05-24 14:14:40 +01:00
images build-appliance-image: upgrade to commit 5745e45b18 2013-08-30 16:23:46 +01:00
init-ifupdown init-ifupdown: set kernel parameters firstly 2013-07-05 15:34:21 +01:00
initrdscripts init-live.sh: distinguish between a read-only image and a read-write image 2013-09-11 11:05:05 +01:00
initscripts initscripts: filter out empty lines from volatiles in check_requirements() 2013-09-10 23:00:50 +01:00
jpeg recipes-core: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:27 +00:00
kbd kbd: cleanup update-alternatives deprecated code 2012-08-15 14:26:27 +01:00
libcgroup libcgroup: add SUMMARY and better DESCRIPTION 2013-04-29 14:45:04 +01:00
libxml Upstream-Status: Correct capitalization 2013-07-18 21:23:43 +01:00
meta meta-environment: change package name to include MACHINE 2013-09-10 22:58:33 +01:00
ncurses ncurses: add xterm-256color to terminfo-base 2013-07-13 18:23:38 +01:00
netbase netbase: upgrade to 5.1 2013-05-02 17:41:54 +01:00
packagegroups packagegroup-cross-canadian: change package name to include MACHINE 2013-09-10 22:58:33 +01:00
psplash remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
readline readline: fix importing readline in python with probably escape sequence output 2013-07-29 13:09:01 +01:00
sysfsutils sysfsutils: Fix case where ${B} != ${S} 2013-03-18 13:18:24 +00:00
systemd systemd: Fix build with multilib 2013-09-10 16:02:23 +01:00
sysvinit sysvinit: add init.d/bootlogd status command for LSB compliance 2013-08-26 11:47:17 +01:00
uclibc remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
udev mount.sh: automount cdrom device even if no ID_FS_TYPE available 2013-09-10 22:58:33 +01:00
update-rc.d remove the unnecessary protocol parameters 2013-08-30 16:23:46 +01:00
util-linux util-linux: package mkfs.cramfs and fsck.cramfs 2013-08-30 16:23:46 +01:00
zlib zlib: update to upstream version 1.2.8 2013-06-07 16:48:29 +01:00