summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-10 07:16:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-14 10:58:28 +0100
commit6529264776701d4f5a1e4a8336ac2e01a6ddea85 (patch)
tree367a9259eec6db8729a0cd30f111e38dcf018468
parent65fb2a4af127d32f31fbe696c80de5bafd953200 (diff)
downloadopenembedded-core-6529264776701d4f5a1e4a8336ac2e01a6ddea85.tar.gz
openembedded-core-6529264776701d4f5a1e4a8336ac2e01a6ddea85.tar.bz2
openembedded-core-6529264776701d4f5a1e4a8336ac2e01a6ddea85.zip
runqemu: let ramfs equal to cpio.gz
For example, support both: $ runqemu qemux86-64 ramfs $ runqemu qemux86-64 cpio.gz (new) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 49ccd1870b..d7fa941a66 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -40,7 +40,7 @@ Examples:
$MYNAME qemux86-64 core-image-sato ext4
$MYNAME qemux86-64 wic-image-minimal wic
$MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
- $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs...
+ $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs/cpio.gz...
$MYNAME qemux86 qemuparams="-m 256"
$MYNAME qemux86 bootparams="psplash=false"
$MYNAME path/to/<image>-<machine>.vmdk
@@ -132,7 +132,7 @@ while true; do
check_fstype_conflicts $arg
IS_VM="true"
;;
- "ramfs")
+ "ramfs" | "cpio.gz")
FSTYPE=cpio.gz
;;
"nographic")