From 78d0f368d36ee514e522416550c375a73f1657a5 Mon Sep 17 00:00:00 2001 From: "Rodrigo M. Duarte" Date: Fri, 26 Jun 2026 15:01:27 -0300 Subject: [PATCH] distro/oel: Opt out of unused distro features by default Clear OEL_DEFAULT_DISTRO_FEATURES and drop the wayland addition to OEL_EXTRA_DISTRO_FEATURES so the base oel distro no longer pulls in ipv4, ipv6, and wayland implicitly. Expand DISTRO_FEATURES_OPTED_OUT to a comprehensive list so that oel-based distros start from a minimal feature set and opt back in only what they need. This keeps image content lean and avoids unintended dependencies from features enabled by OE-Core defaults. Signed-off-by: Rodrigo M. Duarte (cherry picked from commit f8f232e32ac2cd199886434a28cf57c7e8dac5d3) --- conf/distro/include/oel.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/conf/distro/include/oel.inc b/conf/distro/include/oel.inc index e350e2f..09c53f8 100644 --- a/conf/distro/include/oel.inc +++ b/conf/distro/include/oel.inc @@ -64,9 +64,8 @@ SANITY_TESTED_DISTROS ?= " \ #### # Override these in oel based distros -OEL_DEFAULT_DISTRO_FEATURES ??= "ipv4 ipv6" +OEL_DEFAULT_DISTRO_FEATURES ??= "" OEL_EXTRA_DISTRO_FEATURES ??= "" -OEL_EXTRA_DISTRO_FEATURES += " wayland" OEL_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" DISTRO_FEATURES ?= "${OEL_DEFAULT_DISTRO_FEATURES} \ @@ -74,7 +73,11 @@ DISTRO_FEATURES ?= "${OEL_DEFAULT_DISTRO_FEATURES} \ DISTRO_EXTRA_RDEPENDS += "${OEL_DEFAULT_EXTRA_RDEPENDS}" -DISTRO_FEATURES_OPTED_OUT ?= "pulseaudio gobject-introspection-data" +DISTRO_FEATURES_OPTED_OUT ?= " \ + acl alsa bluetooth debuginfod ext2 \ + wifi xattr nfs zeroconf pci 3g nfc x11 vfat seccomp pulseaudio \ + gobject-introspection-data ldconfig opengl ptest multiarch wayland vulkan \ +" # Exclude DATE from DISTRO/SDK_VERSION checksums DISTRO_VERSION[vardepsexclude] = "DATE"