[oe-commits] [openembedded-core] 15/23: runqemu: let ramfs equal to cpio.gz

git at git.openembedded.org git at git.openembedded.org
Wed Apr 13 23:00:21 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 43f4a139050034ec9fc0472cec989e26abfd4d7d
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Sun Apr 10 07:16:48 2016 -0700

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/runqemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 49ccd18..d7fa941 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")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list