Re: [meta-virtualization][PATCH] xen-guest-bundle: require "xen" DISTRO_FEATURE

Bruce Ashfield <[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <CADkTA4PUr4idtuhR784CP_GEtUjsaz12rk69JZHCC8zhqSgR_g@mail.gmail.com>
On Wed, Mar 4, 2026 at 11:30 PM Dmitry Baryshkov via lists.yoctoproject.org
<[email protected]> wrote:

> Building guest bundles makes sense only if "xen" feature is enabled in
> DISTRO_FEATURES. Skip all Xen guest bundle recipes if it is not a part
> of the DISTRO_FEATURES.


Sure, but you are just describing what is in the patch.

What problem was this actually causing ?

Bruce



>
>
> Signed-off-by: Dmitry Baryshkov <[email protected]>
> ---
>  classes/xen-guest-bundle.bbclass | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/classes/xen-guest-bundle.bbclass
> b/classes/xen-guest-bundle.bbclass
> index 3fe7754e61bb..da131c373de4 100644
> --- a/classes/xen-guest-bundle.bbclass
> +++ b/classes/xen-guest-bundle.bbclass
> @@ -269,6 +269,9 @@ python __anonymous() {
>          d.appendVarFlag('do_compile', 'depends', '
> virtual/kernel:do_deploy')
>  }
>
> +inherit features_check
> +REQUIRED_DISTRO_FEATURES = "xen"
> +
>  S = "${UNPACKDIR}/sources"
>  B = "${WORKDIR}/build"
>
> --
> 2.47.3
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9618):
> https://lists.yoctoproject.org/g/meta-virtualization/message/9618
> Mute This Topic: https://lists.yoctoproject.org/mt/118147344/1050810
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> [email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.