Re: [meta-virtualization][PATCH] distro/vruntime: DISTRO_FEATURES_DEFAULT is obsolete

Tim Orling <[email protected]> Fri, 24 Apr 2026 07:56:28 -0700
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <CAOyo-870B+Tcqrr7Ds2eHQYgybkr5vnX3ygmnu3MW_pthGU0gg@mail.gmail.com>
On Fri, Apr 24, 2026 at 1:57 AM Paul Barker <[email protected]> wrote:

> On Thu, 2026-04-23 at 21:26 -0700, Tim Orling via lists.yoctoproject.org
> wrote:
> > Replace with DISTRO_FEATURES_DEFAULTS
> >
> >
> https://git.openembedded.org/openembedded-core/commit/meta/conf?id=0548ea447445834647be7ef35ed0ae8d1d3387b3
> >
> > Fixes:
> > ERROR: Nothing PROVIDES 'nativesdk-libseccomp' ...
> >
> > Signed-off-by: Tim Orling <[email protected]>
> > ---
> >  conf/distro/vruntime.conf | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/conf/distro/vruntime.conf b/conf/distro/vruntime.conf
> > index 0ea43e62..56c5ad6a 100644
> > --- a/conf/distro/vruntime.conf
> > +++ b/conf/distro/vruntime.conf
> > @@ -46,8 +46,8 @@ DISTRO_FEATURES = "acl ext2 ipv4 ipv6 seccomp vfat pci
> vcontainer vxn"
> >  DISTRO_FEATURES_OPTED_OUT = "pulseaudio gobject-introspection-data
> opengl ptest multiarch wayland vulkan"
> >
> >  # Native and nativesdk classes need full features for build tools
> > -DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULT}
> ${POKY_DEFAULT_DISTRO_FEATURES}"
> > -DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULT}
> ${POKY_DEFAULT_DISTRO_FEATURES}"
> > +DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULTS}
> ${POKY_DEFAULT_DISTRO_FEATURES}"
> > +DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULTS}
> ${POKY_DEFAULT_DISTRO_FEATURES}"
> >
> >  # Default to ext4, but image recipes may override to squashfs
> >  IMAGE_FSTYPES = "ext4"
>
> Hi Tim,
>
> This is the wrong approach as it bypasses the default feature filtering.
> Instead, just drop DISTRO_FEATURES_DEFAULT, the defaults are appended
> automatically after filtering for opt-outs.
>
> See the corresponding change in poky [1] for an example.
>
> [1]:
> https://git.yoctoproject.org/meta-yocto/commit/?id=96085aaec5bfb33c4e4322465eaf0af370db6fc0
>
>
Thank you, Paul. Updated version sent.
https://lists.yoctoproject.org/g/meta-virtualization/message/9743

--Tim


> Best regards,
>
> --
> Paul Barker
>
>