[oe-commits] Khem Raj : runqemu: Honor KERNEL and ROOTFS settings from environment
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 23 10:38:58 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: c985b02130658dd64581ecf14b16e2c70d1d8db5
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c985b02130658dd64581ecf14b16e2c70d1d8db5
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Aug 22 10:59:47 2012 -0700
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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
scripts/runqemu | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 90998ae..290f9cc 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=""
More information about the Openembedded-commits
mailing list