summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build10-amd64/etc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build10-amd64/etc')
-rw-r--r--hosts/profitbricks-build10-amd64/etc/pbuilderrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/profitbricks-build10-amd64/etc/pbuilderrc b/hosts/profitbricks-build10-amd64/etc/pbuilderrc
index e07d2bff..dea83aaf 100644
--- a/hosts/profitbricks-build10-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build10-amd64/etc/pbuilderrc
@@ -4,11 +4,21 @@
# the default template
#
# read pbuilderrc.5 document for notes on specific options.
+#
+# cater for different locations
case $HOSTNAME in
jenkins|jenkins-test-vm|profitbricks-build*) MIRRORSITE=http://ftp.de.debian.org/debian ;;
bbx15|bpi0|cbxi4*|cb3*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*) MIRRORSITE=http://ftp.us.debian.org/debian ;;
*) echo "unsupported host, exiting." ; exit 1 ;;
esac
+# only use eatmydata on armhf+i386 - on amd64 we build in tmpfs anyway
+case $HOSTNAME in
+ profitbricks-build*i386)
+ EATMYDATA=yes ;;
+ bbx15|bpi0|cbxi4*|cb3*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*)
+ EATMYDATA=yes ;;
+ *) ;;
+esac
EXTRAPACKAGES="" # better list them in bin/reproducible_setup_pbuilder.sh
APTCACHE=""
COMPRESSPROG="pigz"