summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-01-06 19:37:27 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-01-06 19:39:47 +0100
commit57e46be09ce7aa5592e8381262da63672205dbb0 (patch)
tree902c8956309e4c7db6d2815c7ab53d4144294f26 /templates
parent59ddfb23ea68aec534cf63e73d60d04e145f5bc2 (diff)
Add SSTATE and PREMIRROR settings to aglci feature
This adds the CI mirror settings to the template. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I52e6e772375e0a44f91ba66a0beae2c88d3b172b
Diffstat (limited to 'templates')
-rw-r--r--templates/feature/agl-ci/99_local.conf.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/feature/agl-ci/99_local.conf.inc b/templates/feature/agl-ci/99_local.conf.inc
index 8f6f697cd..69c76fbe0 100644
--- a/templates/feature/agl-ci/99_local.conf.inc
+++ b/templates/feature/agl-ci/99_local.conf.inc
@@ -2,3 +2,30 @@ DISTRO_FEATURES_append = " AGLCI"
# opencv seems to have a parallel make bug
# ...contrib/modules/xfeatures2d/test/test_features2d.cpp:51:10: fatal error: features2d/test/test_detectors_regression.impl.hpp: No such file or directory
PARALLEL_MAKE_pn-opencv = "-j 1"
+
+AGL_HOST_PREMIRROR ?= "http://download.automotivelinux.org"
+AGL_HOST_SSTATE_MIRROR ?= "http://download.automotivelinux.org"
+
+PREMIRRORS = " \
+git://.*/.* ${AGL_HOST_PREMIRROR}/AGL/mirror/ \n \
+ftp://.*/.* ${AGL_HOST_PREMIRROR}/AGL/mirror/ \n \
+http://.*/.* ${AGL_HOST_PREMIRROR}/AGL/mirror/ \n \
+https://.*/.* ${AGL_HOST_PREMIRROR}/AGL/mirror/ \n \
+"
+
+SSTATE_MIRRORS = " file://.* ${AGL_HOST_SSTATE_MIRROR}/sstate-mirror/master/${DEFAULTTUNE}/PATH;downloadfilename=PATH \n "
+
+INHERIT += "packagefeed-stability"
+INHERIT += "buildhistory"
+INHERIT += "buildstats"
+INHERIT += "buildstats-summary"
+
+# setup for PRSERV and HASHSERV
+AGL_HOST_PRSERV ?= "10.30.72.18"
+AGL_HOST_HASHSERV ?= "10.30.72.18"
+
+BB_HASHSERVE = "${AGL_HOST_HASHSERV}:8686"
+BB_SIGNATURE_HANDLER = "OEEquivHash"
+
+PRSERV_HOST = "${AGL_HOST_PRSERV}:8585"
+