]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: Honor KERNEL and ROOTFS settings from environment
authorKhem Raj <raj.khem@gmail.com>
Wed, 22 Aug 2012 17:59:47 +0000 (10:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Aug 2012 10:15:49 +0000 (11:15 +0100)
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>
scripts/runqemu

index 90998aeab41bb08e52852e7036d8e7b0800fb726..290f9ccce519431f930757c79a14cd5937802b24 100755 (executable)
@@ -54,9 +54,9 @@ error() {
 }
 
 MACHINE=${MACHINE:=""}
-KERNEL=""
+KERNEL=${KERNEL:=""}
+ROOTFS=${ROOTFS:=""}
 FSTYPE=""
-ROOTFS=""
 LAZY_ROOTFS=""
 SCRIPT_QEMU_OPT=""
 SCRIPT_QEMU_EXTRA_OPT=""