]> code.ossystems Code Review - openembedded-core.git/commit
initrdscripts: add $CMDLINE to init-live switch_root
authorKrzysztof Sywula <krzysztof.m.sywula@intel.com>
Wed, 15 Jan 2014 11:27:04 +0000 (11:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2014 12:03:14 +0000 (12:03 +0000)
commit5a2f4feeaac4f9278fa0cf808c2f495f0c19324f
tree0637861f89394e7116658f5ce376de976ecaea6c
parente38d7702be279d6d6d4c79b3f2379e689a7473d2
initrdscripts: add $CMDLINE to init-live switch_root

init-live.sh: $CMDLINE variable should be provided to switch_root
to let user specify runlevel on grub command line.
Feeding with -c /dev/console as well as busybox switch_root enables that option.

Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-live.sh