Skip to contentSkip to conversation

scripts/runqemu: Allow FSTYPE to be changed from the environment

PATCH In review Richard Purdie 2 participants 2 messages Mar 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/runqemu: Allow FSTYPE to be changed from the environment

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.

scripts/runqemu +1 -1
index 1277e82..84ece4d 100755
@@ -62,7 +62,7 @@ MACHINE=${MACHINE:=""}
 KERNEL=${KERNEL:=""}
 ROOTFS=${ROOTFS:=""}
 VM=${VM:=""}
-FSTYPE=""
+FSTYPE=${FSTYPE:=""}
 LAZY_ROOTFS=""
 SCRIPT_QEMU_OPT=""
 SCRIPT_QEMU_EXTRA_OPT=""
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Richard Purdie

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.

Through reading.
Thanks!

Quoted 14 lines
scripts/runqemu +1 -1
index 1277e82..84ece4d 100755
@@ -62,7 +62,7 @@ MACHINE=${MACHINE:=""}
 KERNEL=${KERNEL:=""}
 ROOTFS=${ROOTFS:=""}
 VM=${VM:=""}
-FSTYPE=""
+FSTYPE=${FSTYPE:=""}

LAZY_ROOTFS=""
SCRIPT_QEMU_OPT=""
SCRIPT_QEMU_EXTRA_OPT=""