From 9c4de9ec35d6061113b08206d74a3425d0f01b2d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 4 Aug 2015 14:13:58 +0200 Subject: reproducible: define MIRRORSITE dynamically --- hosts/jenkins/etc/pbuilderrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hosts/jenkins') 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" -- cgit v1.2.3-54-g00ecf