diff options
Diffstat (limited to 'hosts/wbd0-armhf-rb/etc/pbuilderrc')
-rw-r--r-- | hosts/wbd0-armhf-rb/etc/pbuilderrc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/wbd0-armhf-rb/etc/pbuilderrc b/hosts/wbd0-armhf-rb/etc/pbuilderrc index e07d2bff..dea83aaf 100644 --- a/hosts/wbd0-armhf-rb/etc/pbuilderrc +++ b/hosts/wbd0-armhf-rb/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" |