* [meta-virtualization] [PATCH] xen-image-minimal: Add missing dependency causing intermittent failures
@ 2024-07-31 14:23 Richard Purdie
2024-08-01 16:03 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2024-07-31 14:23 UTC (permalink / raw)
To: meta-virtualization
"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 <richard.purdie@linuxfoundation.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization] [PATCH] xen-image-minimal: Add missing dependency causing intermittent failures
2024-07-31 14:23 [meta-virtualization] [PATCH] xen-image-minimal: Add missing dependency causing intermittent failures Richard Purdie
@ 2024-08-01 16:03 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2024-08-01 16:03 UTC (permalink / raw)
To: richard.purdie; +Cc: meta-virtualization
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
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.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> 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/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-01 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 14:23 [meta-virtualization] [PATCH] xen-image-minimal: Add missing dependency causing intermittent failures Richard Purdie
2024-08-01 16:03 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.