On Tue, Mar 10, 2026 at 9:58 AM Martin Jansa via lists.yoctoproject.org
<[email protected]> wrote:

> From: Martin Jansa <[email protected]>
>
> to match the image recipe from XEN_GUEST_BUNDLES
>
> Fixes:
> ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
> xen-guest-image-minimal was skipped: using DISTRO 'distro', which is
> missing required DISTRO_FEATURES: 'xen'
> in bitbake world builds
>

I was quite literally just doing this!

But your patch is where I wanted it (versus the bbclass one I got earlier),
so I'll just grab this instead.

Bruce


> Signed-off-by: Martin Jansa <[email protected]>
> ---
>  .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-extended/xen-guest-bundles/
> example-xen-guest-bundle_1.0.bb b/recipes-extended/xen-guest-bundles/
> example-xen-guest-bundle_1.0.bb
> index 96e17275..70f12492 100644
> --- a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
> +++ b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
> @@ -26,7 +26,10 @@ DESCRIPTION = "Demonstrates xen-guest-bundle.bbclass by
> bundling the \
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> -inherit xen-guest-bundle
> +inherit xen-guest-bundle features_check
> +
> +# matches xen-guest-image-minimal recipe
> +REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('IMAGE_FEATURES',
> 'x11', ' x11', '', d)} xen"
>
>  # Define guests to bundle
>  # Format: recipe-name[:autostart][:external]
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9635): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9635
Mute This Topic: https://lists.yoctoproject.org/mt/118241118/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to