diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-04 14:13:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-04 14:13:58 +0200 |
commit | 9c4de9ec35d6061113b08206d74a3425d0f01b2d (patch) | |
tree | af063181eabe5bb7203af127d066ed80bbe59542 /hosts/jenkins/etc | |
parent | 005ed7eeea40a04ef7c8fccd2e51c0fe69bbaed8 (diff) | |
download | jenkins.debian.net-9c4de9ec35d6061113b08206d74a3425d0f01b2d.tar.xz |
reproducible: define MIRRORSITE dynamically
Diffstat (limited to 'hosts/jenkins/etc')
-rw-r--r-- | hosts/jenkins/etc/pbuilderrc | 6 |
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" |