aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-22 10:59:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 11:15:49 +0100
commitc985b02130658dd64581ecf14b16e2c70d1d8db5 (patch)
tree80668476939a426bc38e5d8e829cd3539c8c4d70 /scripts
parent821a38d71d7e15f5871f44a3ee08268d05ef610e (diff)
downloadopenembedded-core-contrib-c985b02130658dd64581ecf14b16e2c70d1d8db5.tar.gz
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 90998aeab4..290f9ccce5 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=""