diff mbox series

[yocto-autobuilder-helper] config.json: Use own-mirrors for auh/buildperf

Message ID 20260815095530.3524320-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper] config.json: Use own-mirrors for auh/buildperf | expand

Commit Message

Richard Purdie Aug. 15, 2026, 9:55 a.m. UTC
Now that we disable the yocto mirrors from all builds, we need to tweak the ones
that populate their own DL_DIR to use the sources directory as a mirror and reduce
network traffic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 config.json | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/config.json b/config.json
index 9fd9ba3..b887900 100644
--- a/config.json
+++ b/config.json
@@ -243,6 +243,8 @@ 
                 "BB_NUMBER_PARSE_THREADS = '24'",
                 "PARALLEL_MAKE = '-j 24'",
                 "DL_DIR = '${BUILDPERF_STATEDIR}/downloads'",
+                "INHERIT += 'own-mirrors'",
+                "SOURCE_MIRROR_URL = 'file://${BASE_SHAREDDIR}/current_sources'",
                 "CONNECTIVITY_CHECK_URIS = ''",
                 "BB_HASHSERVE = 'auto'",
                 "BB_LOG_HOST_STAT_CMDS = ''",
@@ -1560,6 +1562,8 @@ 
             "NEEDREPOS" : ["bitbake", "auto-upgrade-helper"],
             "extravars" :[
                 "DL_DIR = '${TOPDIR}/downloads'",
+                "INHERIT += 'own-mirrors'",
+                "SOURCE_MIRROR_URL = 'file://${BASE_SHAREDDIR}/current_sources'",
                 "INHERIT += 'buildhistory'",
                 "LICENSE_FLAGS_ACCEPTED = 'commercial'",
                 "INIT_MANAGER:libc-glibc = 'systemd'",
@@ -1590,6 +1594,8 @@ 
             "NEEDREPOS": ["bitbake", "auto-upgrade-helper", "meta-openembedded"],
             "extravars": [
                 "DL_DIR = '${TOPDIR}/downloads'",
+                "INHERIT += 'own-mirrors'",
+                "SOURCE_MIRROR_URL = 'file://${BASE_SHAREDDIR}/current_sources'",
                 "INHERIT += 'buildhistory'",
                 "LICENSE_FLAGS_ACCEPTED = 'commercial'",
                 "DISTRO_FEATURES:append:libc-glibc = ' systemd usrmerge'",