Skip to contentSkip to conversation

runqemu: let ramfs equal to cpio.gz

PATCH New Robert Yang 1 participant 2 messages Apr 10, 2016

lore
Share & tools
lore
#0 lore raw

cover runqemu: let ramfs equal to cpio.gz

The following changes since commit d2734fbfe209fcb8bd908b55e64d1ea8712d02c1:

local.conf.sample: Make it possible to override EXTRA_IMAGE_FEATURES (2016-04-09 07:56:57 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/runqemu
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/runqemu

Robert Yang (1):
runqemu: let ramfs equal to cpio.gz

 scripts/runqemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.8.0
#1 lore raw

PATCH 1/1 runqemu: let ramfs equal to cpio.gz

For example, support both:

$ runqemu qemux86-64 ramfs
$ runqemu qemux86-64 cpio.gz (new)
---
 scripts/runqemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/runqemu +2 -2
index 49ccd18..d7fa941 100755
@@ -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")
Signature · 1 line
2.8.0