From 7d4c0b99ff1204e7e050292656bb84c1bd8ef8e7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 2 Jun 2016 20:20:56 +0200 Subject: reproducible debian: unify /etc/pbuilderrc for all hosts --- hosts/profitbricks-build5-amd64/etc/pbuilderrc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'hosts/profitbricks-build5-amd64/etc') diff --git a/hosts/profitbricks-build5-amd64/etc/pbuilderrc b/hosts/profitbricks-build5-amd64/etc/pbuilderrc index 409ebc25..f6f607e1 100644 --- a/hosts/profitbricks-build5-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build5-amd64/etc/pbuilderrc @@ -30,9 +30,12 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then fi # needed to ignore failures due to running 398 days in the future… -case "$PBCURRENTCOMMANDLINEOPERATION" in - --create|create) - APTGETOPT=(-o Acquire::Check-Valid-Until="false") - ;; -esac - +# (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") + ;; + *) ;; + esac +fi -- cgit v1.2.3-54-g00ecf