diff options
author | 2019-03-23 14:12:49 +0100 | |
---|---|---|
committer | 2019-03-23 14:12:49 +0100 | |
commit | 50b1e72dc2475fb971afa942a1b0581e8c4f2d2c (patch) | |
tree | f782057a50ca05ab45a841fd0882f027b4b43e6d /jjb/common/include-agl-auto-conf.sh | |
parent | 06b249dc50ce7235ef60352ad07658981d15842d (diff) |
Add option to disable sstate-mirror in release builds
Change-Id: I4149a9a2eee0d96acd4900f4daf250a6dde71701
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.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/jjb/common/include-agl-auto-conf.sh b/jjb/common/include-agl-auto-conf.sh index 8811d3fd..e4744df7 100644 --- a/jjb/common/include-agl-auto-conf.sh +++ b/jjb/common/include-agl-auto-conf.sh @@ -11,10 +11,6 @@ if test x"" = x"${GERRIT_BRANCH}"; then else export DISTROBRANCH="${GERRIT_BRANCH}" fi -#if test ! x"" = x"${RELEASE_BRANCH}"; then -# export DISTROBRANCH="$RELEASE_BRANCH" -#fi -#limit parallel number of bitbake jobs and parallel jobs in make cat << EOF >> conf/auto.conf PREMIRRORS = "\ git://.*/.* ${DLHOST}/AGL/mirror/ \n \ @@ -23,6 +19,11 @@ http://.*/.* ${DLHOST}/AGL/mirror/ \n \ https://.*/.* ${DLHOST}/AGL/mirror/ \n \ " +EOF + " +if test x"YES" != x"${DISABLE_SSTATE_MIRROR}" ; then + +cat << EOF >> conf/auto.conf SSTATE_MIRRORS = " \ file://.* ${DLHOST}/sstate-mirror/${DISTROBRANCH}/\${DEFAULTTUNE}/PATH \n \ " @@ -33,3 +34,5 @@ SSTATE_MIRRORS = " \ IMAGE_FSTYPES_remove = "ext3" SSTATE_DIR = "\${TOPDIR}/sstate-cache/\${MACHINE}/" EOF + +fi
\ No newline at end of file |