mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
runqemu: do not rely on grepping images
Fixed when the image is large and not enough memory: grep: memory exhausted Aborted [YOCTO #11073] (From OE-Core rev: a99deb30a0138594147ae28aab016fe4b74b8959) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f2c09f7867
commit
f57393b386
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user