aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-auto-conf.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-11-07 12:37:23 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-11-07 12:49:16 +0100
commitcf00e8181097e32ff40dd69e1c15d7a0c9ea3a40 (patch)
tree27895a535feac0b6aaf0fbcedb6d85148c479410 /jjb/common/include-agl-auto-conf.sh
parentcb44fe25cc827eeb23a5681f2b34e66066644b0b (diff)
Add generic jjb CI job for AGL
Change-Id: I8264fd08a6ea2348751c1c7ed15da1103fbf4272 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-auto-conf.sh')
-rw-r--r--jjb/common/include-agl-auto-conf.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/jjb/common/include-agl-auto-conf.sh b/jjb/common/include-agl-auto-conf.sh
new file mode 100644
index 00000000..22fce7d2
--- /dev/null
+++ b/jjb/common/include-agl-auto-conf.sh
@@ -0,0 +1,25 @@
+# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de
+# License GPLv2
+
+################################################################################
+## Main
+################################################################################
+
+#limit parallel number of bitbake jobs and parallel jobs in make
+cat << EOF > conf/auto.conf
+PREMIRRORS = "\
+git://.*/.* ${DLHOST}/AGL/mirror/ \n \
+ftp://.*/.* ${DLHOST}/AGL/mirror/ \n \
+http://.*/.* ${DLHOST}/AGL/mirror/ \n \
+https://.*/.* ${DLHOST}/AGL/mirror/ \n \
+ "
+
+SSTATE_MIRRORS = "\
+file://.* file:///opt/AGL/sstate-mirror/\${MACHINE}/PATH \n \
+file://.* ${DLHOST}/sstate-mirror/\${MACHINE}/PATH \n \
+ "
+
+SSTATE_DIR = "\${TOPDIR}/sstate-cache/\${MACHINE}/"
+EOF
+
+cat conf/auto.conf