From 7e6b3b7d3356fa05873fdb65a5ce45d3648da429 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 4 Jun 2016 10:53:08 +0200 Subject: reproducible debian: use eatmydata on i386+armhf --- hosts/odxu4-armhf-rb/etc/pbuilderrc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'hosts/odxu4-armhf-rb/etc') diff --git a/hosts/odxu4-armhf-rb/etc/pbuilderrc b/hosts/odxu4-armhf-rb/etc/pbuilderrc index e07d2bff..dea83aaf 100644 --- a/hosts/odxu4-armhf-rb/etc/pbuilderrc +++ b/hosts/odxu4-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" -- cgit v1.2.3-70-g09d2