@@ -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'",
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(+)