diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-08-22 10:59:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-23 11:43:32 +0100 |
commit | fcdf262fabd35e9e19bee919cf1b3dfa42edf617 (patch) | |
tree | e74bcf02ba9aea14584d153912772f3bca3ca1f2 | |
parent | 3b05a9beffafe5637fba36dbd301139e912ec2a4 (diff) | |
download | poky-fcdf262fabd35e9e19bee919cf1b3dfa42edf617.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
(From OE-Core rev: c985b02130658dd64581ecf14b16e2c70d1d8db5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu | 4 |
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() { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | MACHINE=${MACHINE:=""} | 56 | MACHINE=${MACHINE:=""} |
57 | KERNEL="" | 57 | KERNEL=${KERNEL:=""} |
58 | ROOTFS=${ROOTFS:=""} | ||
58 | FSTYPE="" | 59 | FSTYPE="" |
59 | ROOTFS="" | ||
60 | LAZY_ROOTFS="" | 60 | LAZY_ROOTFS="" |
61 | SCRIPT_QEMU_OPT="" | 61 | SCRIPT_QEMU_OPT="" |
62 | SCRIPT_QEMU_EXTRA_OPT="" | 62 | SCRIPT_QEMU_EXTRA_OPT="" |