mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
runqemu: simplify checking for iso and ramfs
(From OE-Core rev: 69a1fca4374797dea56035ce56a17441a2ca9280) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3610329929
commit
e469bb722e
+1
-6
@@ -125,7 +125,7 @@ while true; do
|
||||
[ -z "$MACHINE" -o "$MACHINE" = "$arg" ] && MACHINE=$arg || \
|
||||
error "conflicting MACHINE types [$MACHINE] and [$arg]"
|
||||
;;
|
||||
"ext"[234] | "jffs2" | "nfs" | "btrfs")
|
||||
"ext"[234] | "jffs2" | "nfs" | "btrfs" | "iso")
|
||||
check_fstype_conflicts $arg
|
||||
;;
|
||||
"hddimg" | "hdddirect" | "wic" | "vmdk" | "qcow2" | "vdi")
|
||||
@@ -134,12 +134,7 @@ while true; do
|
||||
;;
|
||||
"ramfs")
|
||||
FSTYPE=cpio.gz
|
||||
RAMFS=true
|
||||
;;
|
||||
"iso")
|
||||
FSTYPE=iso
|
||||
ISOFS=true
|
||||
;;
|
||||
"nographic")
|
||||
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic"
|
||||
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
|
||||
|
||||
Reference in New Issue
Block a user