diff mbox series

[3/6] defaultsetup: Enable uninative by default

Message ID 20260221084230.3219379-3-richard.purdie@linuxfoundation.org
State Under Review
Headers show
Series [1/6] conf: Switch to systemd by default and simplify init manager selection | expand

Commit Message

Richard Purdie Feb. 21, 2026, 8:42 a.m. UTC
uninative allows reuse of native sstate built on one distro on another. This change
enables it by default, as has been done by default in poky for a long time.

The reason for the change is that this makes the sstate CDN much more useful
to speed up builds if good network access is available. It also standardises
the builds to our usual testing configuration, removing one key difference
which new users sometimes run into.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/defaultsetup.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
index 269c3ad3f7b..f4a2d004a36 100644
--- a/meta/conf/distro/defaultsetup.conf
+++ b/meta/conf/distro/defaultsetup.conf
@@ -6,10 +6,11 @@  require conf/distro/include/tcmode-${TCMODE}.inc
 require conf/distro/include/tclibc-${TCLIBC}.inc
 
 require conf/distro/include/uninative-flags.inc
+require conf/distro/include/yocto-uninative.inc
 
 USER_CLASSES ?= ""
 PACKAGE_CLASSES ?= "package_ipk"
-INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx buildstats"
+INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx buildstats uninative"
 INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO}"
 
 INIT_MANAGER ??= "systemd"