summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-04 14:13:58 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-04 14:13:58 +0200
commit9c4de9ec35d6061113b08206d74a3425d0f01b2d (patch)
treeaf063181eabe5bb7203af127d066ed80bbe59542 /hosts/jenkins
parent005ed7eeea40a04ef7c8fccd2e51c0fe69bbaed8 (diff)
downloadjenkins.debian.net-9c4de9ec35d6061113b08206d74a3425d0f01b2d.tar.xz
reproducible: define MIRRORSITE dynamically
Diffstat (limited to 'hosts/jenkins')
-rw-r--r--hosts/jenkins/etc/pbuilderrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/jenkins/etc/pbuilderrc
index 6812ce26..41aedae5 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/jenkins/etc/pbuilderrc
@@ -4,7 +4,11 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
-MIRRORSITE=http://ftp.de.debian.org/debian/
+case $HOSTNAME in
+ jenkins) MIRRORSITE=http://ftp.de.debian.org/debian ;;
+ bpi0|cbxi4pro0|hb0|wbq0) MIRRORSITE=http://ftp.us.debian.org/debian ;;
+ *) echo "unsupported host, exiting." ; exit 1 ;;
+esac
EXTRAPACKAGES="fakeroot"
APTCACHE=""
COMPRESSPROG="pigz"