diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-11 02:21:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:10:49 +0100 |
commit | a99deb30a0138594147ae28aab016fe4b74b8959 (patch) | |
tree | 4009cda8006d0110552d36688d03b6feba40b6b1 /meta | |
parent | 9ebcb2b6f41420ae3686afad03bb26a68cfacf95 (diff) | |
download | openembedded-core-a99deb30a0138594147ae28aab016fe4b74b8959.tar.gz openembedded-core-a99deb30a0138594147ae28aab016fe4b74b8959.tar.bz2 openembedded-core-a99deb30a0138594147ae28aab016fe4b74b8959.zip |
runqemu: do not rely on grepping images
Fixed when the image is large and not enough memory:
grep: memory exhausted
Aborted
[YOCTO #11073]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/qemuboot.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index 3ca97cad4c..2870388dfb 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass @@ -64,6 +64,9 @@ QB_DEFAULT_FSTYPE ?= "ext4" QB_OPT_APPEND ?= "-show-cursor" QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" +# This should be kept align with ROOT_VM +QB_DRIVE_TYPE ?= "/dev/sd" + # Create qemuboot.conf addtask do_write_qemuboot_conf after do_rootfs before do_image IMGDEPLOYDIR ?= "${WORKDIR}/deploy-${PN}-image-complete" |