[yocto-autobuilder-helper] [PATCH] config.json: Use own-mirrors for auh/buildperf
Richard Purdie <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- config.json | 6 ++++++ 1 file changed, 6 insertions(+) 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'",