From 81f8e9471544d755e091e072f596bd7e60c88555 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 14 Aug 2016 09:50:09 +0000 Subject: pbuilderrc: use PBUILDER_OPERATION instead of undocumented PBCURRENTCOMMANDLINEOPERATION Signed-off-by: Holger Levsen --- hosts/opi2b-armhf-rb/etc/pbuilderrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'hosts/opi2b-armhf-rb/etc/pbuilderrc') 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 -- cgit v1.2.3-70-g09d2