diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-08-14 09:50:09 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-14 13:39:40 +0200 |
commit | 81f8e9471544d755e091e072f596bd7e60c88555 (patch) | |
tree | c48f6a6719542c00a6b351ef3d2da681f6ccfe9c /hosts/opi2b-armhf-rb/etc | |
parent | 0a884f9bafac8c93c84734e5bd2a195997c28ca1 (diff) | |
download | jenkins.debian.net-81f8e9471544d755e091e072f596bd7e60c88555.tar.xz |
pbuilderrc: use PBUILDER_OPERATION instead of undocumented PBCURRENTCOMMANDLINEOPERATION
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/opi2b-armhf-rb/etc')
-rw-r--r-- | hosts/opi2b-armhf-rb/etc/pbuilderrc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hosts/opi2b-armhf-rb/etc/pbuilderrc b/hosts/opi2b-armhf-rb/etc/pbuilderrc index dea83aaf..2e8e4074 100644 --- a/hosts/opi2b-armhf-rb/etc/pbuilderrc +++ b/hosts/opi2b-armhf-rb/etc/pbuilderrc @@ -6,7 +6,7 @@ # read pbuilderrc.5 document for notes on specific options. # # cater for different locations -case $HOSTNAME in +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 ;; @@ -42,10 +42,10 @@ fi # needed to ignore failures due to running 398 days in the future… # (only on those 2 nodes running in the future…) if [ "$HOSTNAME" = "profitbricks-build5-amd64" ] || [ "$HOSTNAME" = "profitbricks-build6-i386" ] ; then - case "$PBCURRENTCOMMANDLINEOPERATION" in - --create|create) - APTGETOPT=(-o Acquire::Check-Valid-Until="false") - ;; - *) ;; + case "$PBUILDER_OPERATION" in + create) + APTGETOPT=(-o Acquire::Check-Valid-Until="false") + ;; + *) ;; esac fi |