summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-02-13 11:02:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-15 16:28:43 +0000
commit2c3a009b2059099731f2855a72f4bdf50a8f59be (patch)
tree2a3909c280a53235e9c703ecef80259e38b22f26 /scripts/runqemu
parent64d2f13d1a4633572c37895b4ba2db1e1c824c97 (diff)
downloadpoky-2c3a009b2059099731f2855a72f4bdf50a8f59be.tar.gz
runqemu: add support for wic images
Quemu should be able to run wic images this way: runqemu <machine> <image recipe> wic Tested with 'runqemu qemux86-64 wic-image-minimal wic' (From OE-Core rev: 8716be799949cb8bde7fa49cbea61312a3a93bb7) (From OE-Core rev: dd42931bf99b8bbd4ad452b3941d957f41b81796) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 46918e2af5..4bb3bb61ec 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -40,6 +40,7 @@ usage() {
40 echo "Examples:" 40 echo "Examples:"
41 echo " $MYNAME qemuarm" 41 echo " $MYNAME qemuarm"
42 echo " $MYNAME qemux86-64 core-image-sato ext4" 42 echo " $MYNAME qemux86-64 core-image-sato ext4"
43 echo " $MYNAME qemux86-64 wic-image-minimal wic"
43 echo " $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial" 44 echo " $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial"
44 echo " $MYNAME qemux86 ramfs" 45 echo " $MYNAME qemux86 ramfs"
45 echo " $MYNAME qemux86 iso" 46 echo " $MYNAME qemux86 iso"
@@ -116,7 +117,7 @@ while true; do
116 [ -z "$MACHINE" -o "$MACHINE" = "$arg" ] && MACHINE=$arg || \ 117 [ -z "$MACHINE" -o "$MACHINE" = "$arg" ] && MACHINE=$arg || \
117 error "conflicting MACHINE types [$MACHINE] and [$arg]" 118 error "conflicting MACHINE types [$MACHINE] and [$arg]"
118 ;; 119 ;;
119 "ext2" | "ext3" | "ext4" | "jffs2" | "nfs" | "btrfs" | "hddimg" | "hdddirect" ) 120 "ext2" | "ext3" | "ext4" | "jffs2" | "nfs" | "btrfs" | "hddimg" | "hdddirect" | "wic" )
120 [ -z "$FSTYPE" -o "$FSTYPE" = "$arg" ] && FSTYPE=$arg || \ 121 [ -z "$FSTYPE" -o "$FSTYPE" = "$arg" ] && FSTYPE=$arg || \
121 error "conflicting FSTYPE types [$FSTYPE] and [$arg]" 122 error "conflicting FSTYPE types [$FSTYPE] and [$arg]"
122 ;; 123 ;;