diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-04-10 07:16:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-14 10:58:34 +0100 |
commit | 1db3dc88036ccd46ed2b714fdc0fb565beb001ed (patch) | |
tree | 17fe36aad0438cb76634bbf04a135b29fce5d0a4 /scripts | |
parent | a8c8e811eeedc26079d9c150a214a36619141d79 (diff) | |
download | poky-1db3dc88036ccd46ed2b714fdc0fb565beb001ed.tar.gz |
runqemu: let ramfs equal to cpio.gz
For example, support both:
$ runqemu qemux86-64 ramfs
$ runqemu qemux86-64 cpio.gz (new)
(From OE-Core rev: 6529264776701d4f5a1e4a8336ac2e01a6ddea85)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 4 |
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: | |||
40 | $MYNAME qemux86-64 core-image-sato ext4 | 40 | $MYNAME qemux86-64 core-image-sato ext4 |
41 | $MYNAME qemux86-64 wic-image-minimal wic | 41 | $MYNAME qemux86-64 wic-image-minimal wic |
42 | $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial | 42 | $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial |
43 | $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs... | 43 | $MYNAME qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs/cpio.gz... |
44 | $MYNAME qemux86 qemuparams="-m 256" | 44 | $MYNAME qemux86 qemuparams="-m 256" |
45 | $MYNAME qemux86 bootparams="psplash=false" | 45 | $MYNAME qemux86 bootparams="psplash=false" |
46 | $MYNAME path/to/<image>-<machine>.vmdk | 46 | $MYNAME path/to/<image>-<machine>.vmdk |
@@ -132,7 +132,7 @@ while true; do | |||
132 | check_fstype_conflicts $arg | 132 | check_fstype_conflicts $arg |
133 | IS_VM="true" | 133 | IS_VM="true" |
134 | ;; | 134 | ;; |
135 | "ramfs") | 135 | "ramfs" | "cpio.gz") |
136 | FSTYPE=cpio.gz | 136 | FSTYPE=cpio.gz |
137 | ;; | 137 | ;; |
138 | "nographic") | 138 | "nographic") |