[PATCH 3/4] poky-tiny: Opt out of all default distro features

Paul Barker <[email protected]> Fri, 03 Apr 2026 10:12:04 +0100
Newsgroups org.yoctoproject.lists.poky
Message-ID <[email protected]>
For poky-tiny, we want to directly control the list of DISTRO_FEATURES,
with nothing added by default.

The previous list of backfilled distro features (before conversion to
DISTRO_FEATURES_DEFAULTS & DISTRO_FEATURES_OPTED_OUT in oe-core) was:

    pulseaudio gobject-introspection-data ldconfig opengl ptest multiarch wayland vulkan

Of these, we want to keep:

    ldconfig - for ldconfig & ld.so.conf on target.
    multiarch - for multiple architecture support.
    ptest - for building tests (as they aren't installed by default).

The others can go to keep poky-tiny as tiny as possible.

Signed-off-by: Paul Barker <[email protected]>
---
 meta-poky/conf/distro/poky-tiny.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index 3be3b786510e..be28940dd90e 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -63,12 +63,13 @@ IMAGE_LINGUAS = ""
 # Comment out any of the lines below to disable them in the build
 # DISTRO_FEATURES options:
 # alsa bluetooth ext2 pcmcia usbgadget usbhost wifi nfs zeroconf pci
-DISTRO_FEATURES_TINY = "pci"
+DISTRO_FEATURES_TINY = "pci ldconfig ptest multiarch"
 DISTRO_FEATURES_NET = "ipv4 ipv6"
 DISTRO_FEATURES_USB = "usbhost"
 #DISTRO_FEATURES_USBGADGET = "usbgadget"
 #DISTRO_FEATURES_WIFI = "wifi"
 
+DISTRO_FEATURES_OPTED_OUT = "*"
 DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \
                    ${DISTRO_FEATURES_NET} \
                    ${DISTRO_FEATURES_USB} \

-- 
2.43.0