From a99deb30a0138594147ae28aab016fe4b74b8959 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 11 Apr 2017 02:21:28 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/qemuboot.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta') 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" -- cgit 1.2.3-korg