diff mbox series

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

Message ID 20260403-default-features-2-v1-3-6e12ee3fbe44@pbarker.dev (mailing list archive)
State New
Headers show
Series Adapt poky & poky-tiny for default distro features changes | expand

Commit Message

Paul Barker April 3, 2026, 9:12 a.m. UTC
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 <paul@pbarker.dev>
---
 meta-poky/conf/distro/poky-tiny.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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} \