Skip to contentSkip to conversation

xen-image-minimal: Add missing dependency causing intermittent failures

PATCH In review Richard Purdie 2 participants 2 messages Jul 31, 2024 – Aug 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 recipes-extended/images/xen-image-minimal.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/images/xen-image-minimal.bb +1 -0
index fe79a485..e6fa93ca 100644
@@ -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:
Signature · 1 line
2.34.1
#1 lore raw

This looks ok to me, and it passed my local testing, so it is now merged (along with the rest of master-next)

Bruce

In message: [meta-virtualization] [PATCH] xen-image-minimal: Add missing dependency causing intermittent failures

Quoted 40 lines · on 31/07/2024 Richard Purdie via lists.yoctoproject.org wrote:

"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.

---
 recipes-extended/images/xen-image-minimal.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/images/xen-image-minimal.bb +1 -0
index fe79a485..e6fa93ca 100644
@@ -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:
Signature · 11 lines
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/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-