summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-08-19 13:37:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 18:23:16 -0700
commit4a2d3cfeeef4de6da1301c65033fa251538cddc9 (patch)
treee226172ad1bb1878d4e5cdef9bc4f00084e0d9ba
parent19a587cb98a20f0e659483541fc8cec874f6afa9 (diff)
downloadopenembedded-core-4a2d3cfeeef4de6da1301c65033fa251538cddc9.tar.gz
openembedded-core-4a2d3cfeeef4de6da1301c65033fa251538cddc9.tar.bz2
openembedded-core-4a2d3cfeeef4de6da1301c65033fa251538cddc9.tar.xz
openembedded-core-4a2d3cfeeef4de6da1301c65033fa251538cddc9.zip
scripts/runqemu: add support to pass bootparams to kernel
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index ed8c05bcb..91c3c9e93 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -135,6 +135,9 @@ while [ $i -le $# ]; do
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
;;
+ "bootparams="*)
+ SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT ${arg##bootparams=}"
+ ;;
"audio")
if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest.";