"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 <[email protected]>
---
 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:
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8849): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8849
Mute This Topic: https://lists.yoctoproject.org/mt/107646890/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to