From daef2c973323d9bc6c3de790b002bd3791db1b37 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Jul 2024 15:23:11 +0100 Subject: xen-image-minimal: Add missing dependency causing intermittent failures "bitbake xen-image-minimal -c do_image_wic" fails with: | ERROR: _exec_cmd: install -m 0644 tmp/deploy/images/qemux86-64/xen-qemux86-64.gz tmp/work/qemux86_64-poky-linux/xen-image-minimal/1.0/tmp-wic/hdd/boot/xen.gz returned '1' instead of 0 | output: install: cannot stat 'tmp/deploy/images/qemux86-64/xen-qemux86-64.gz': No such file or directory | | WARNING: exit code 1 from a shell command. ERROR: Task (/media/build/poky/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_image_wic) failed with exit code '1' Add the missing dependency to avoid this. Signed-off-by: Richard Purdie Signed-off-by: Bruce Ashfield --- recipes-extended/images/xen-image-minimal.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb index fe79a485..e6fa93ca 100644 --- a/recipes-extended/images/xen-image-minimal.bb +++ b/recipes-extended/images/xen-image-minimal.bb @@ -102,6 +102,7 @@ QB_SERIAL_OPT = "-serial mon:stdio" # qemux86-64 machine does not include 'wic' in IMAGE_FSTYPES, which is needed # to boot this image, so add it here: IMAGE_FSTYPES:qemux86-64 += "wic" +do_image_wic[depends] += "xen:do_deploy" # Networking: the qemuboot.bbclass default virtio network device works ok # and so does the emulated e1000 -- choose according to the network device # drivers that are present in your dom0 Linux kernel. To switch to e1000: -- cgit v1.2.3-54-g00ecf