]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/runqemu: Allow FSTYPE to be changed from the environment
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Mar 2015 11:32:42 +0000 (11:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:02:33 +0000 (11:02 +0000)
Currently its not possible to change FSTYPE from the environment but it would
be useful to do so where multiple image types have been generated. This
adds that possibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu

index 1277e82dd958a1fe5e154dad9bcab783e1d22acc..84ece4d7e441a0d368ac1018975d0095457ca714 100755 (executable)
@@ -62,7 +62,7 @@ MACHINE=${MACHINE:=""}
 KERNEL=${KERNEL:=""}
 ROOTFS=${ROOTFS:=""}
 VM=${VM:=""}
-FSTYPE=""
+FSTYPE=${FSTYPE:=""}
 LAZY_ROOTFS=""
 SCRIPT_QEMU_OPT=""
 SCRIPT_QEMU_EXTRA_OPT=""