summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build6-i386/etc/pbuilderrc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-04 10:53:08 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-04 10:53:08 +0200
commit7e6b3b7d3356fa05873fdb65a5ce45d3648da429 (patch)
treef7abcc773ab49619cc720eef42f4f3c828f9ede9 /hosts/profitbricks-build6-i386/etc/pbuilderrc
parent368e987c1b9170d3e18c22f07aa3f9c17941765f (diff)
downloadjenkins.debian.net-7e6b3b7d3356fa05873fdb65a5ce45d3648da429.tar.xz
reproducible debian: use eatmydata on i386+armhf
Diffstat (limited to 'hosts/profitbricks-build6-i386/etc/pbuilderrc')
-rw-r--r--hosts/profitbricks-build6-i386/etc/pbuilderrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/profitbricks-build6-i386/etc/pbuilderrc b/hosts/profitbricks-build6-i386/etc/pbuilderrc
index e07d2bff..dea83aaf 100644
--- a/hosts/profitbricks-build6-i386/etc/pbuilderrc
+++ b/hosts/profitbricks-build6-i386/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"