From: Khem Raj Date: Wed, 22 Aug 2012 17:59:47 +0000 (-0700) Subject: runqemu: Honor KERNEL and ROOTFS settings from environment X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcdf262fabd35e9e19bee919cf1b3dfa42edf617;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqemu: Honor KERNEL and ROOTFS settings from environment Expand the usage to be able to specify KERNEL and ROOTFS on commandline. This helps in using the script for booting images that are essentially not part of OE-Core (From OE-Core rev: c985b02130658dd64581ecf14b16e2c70d1d8db5) Signed-off-by: Khem Raj Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index 90998aeab41..290f9ccce51 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -54,9 +54,9 @@ error() { } MACHINE=${MACHINE:=""} -KERNEL="" +KERNEL=${KERNEL:=""} +ROOTFS=${ROOTFS:=""} FSTYPE="" -ROOTFS="" LAZY_ROOTFS="" SCRIPT_QEMU_OPT="" SCRIPT_QEMU_EXTRA_OPT=""