This is an optional follow up for the previous commit. It allows to define if wic images are handled as vm or as fs type images by command line argument.
Signed-off-by: Adrian Freihofer <[email protected]> --- scripts/runqemu | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/runqemu b/scripts/runqemu index 71894c9ca8..c730a72168 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -76,6 +76,8 @@ of the following environment variables (in any order): publicvnc - enable a VNC server open to all hosts audio - enable audio [*/]ovmf* - OVMF firmware file or base name for booting with UEFI + wic-fs - Start Qemu with -kernel parameter for wic images (default if -machine virt) + wic-vm - Start Qemu without -kernel parameter for wic images (default otherwise) tcpserial=<port> - specify tcp serial port number biosdir=<dir> - specify custom bios dir biosfilename=<filename> - specify bios filename @@ -455,6 +457,10 @@ class BaseConfig(object): self.rootfs = arg elif arg.startswith('ovmf'): self.ovmf_bios.append(arg) + elif arg == 'wic-fs': + self.wic_fs = True + elif arg == 'wic-vm': + self.wic_fs = False else: # At last, assume it is the MACHINE if (not unknown_arg) or unknown_arg == arg: -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
