init-live.sh: remove the '-c /dev/console' for switch_root
authorChen Qi <Qi.Chen@windriver.com>
Thu, 5 Dec 2013 09:11:17 +0000 (17:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2013 14:25:29 +0000 (14:25 +0000)
commit13b465860d9b3c53357aefb461a26b77bc3bc6e2
tree3b0ad9166844388f24e5ddab23f9c67c46827d41
parent2234d01f76f191ad5d07354e049cdb1b8c59f580
init-live.sh: remove the '-c /dev/console' for switch_root

The '-c DEV' option is specific to the switch_root provided by busybox.
switch_root from util-linux doesn't recognize this option. As a result,
if we we this init-live.sh script together with util-linux, we would get
a kernel panic when executing switch_root.

Besides, this option doesn't seem to have any useful effect as far as I
can see. Removing it doesn't affect the behaviours of our live images.

(From OE-Core rev: 6f50ccb8ae9e11870f99bb3b191f677c3633cd0d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-live.sh