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/bbx15-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/bpi0-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/cbxi4a-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/cbxi4b-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/ff2a-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/ff2b-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/ff4a-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/hb0-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/jenkins-test-vm/etc/pbuilderrc | 10 ++++++++++ hosts/jenkins/etc/pbuilderrc | 10 ++++++++++ hosts/odxu4-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/odxu4b-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/odxu4c-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/opi2a-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/opi2b-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build1-amd64/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build10-amd64/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build2-i386/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build3-amd64/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build4-amd64/etc/pbuilderrc | 10 ++++++++++ hosts/profitbricks-build5-amd64/etc/pbuilderrc | 15 +++++++++------ hosts/profitbricks-build6-i386/etc/pbuilderrc | 15 +++++++++------ hosts/profitbricks-build9-amd64/etc/pbuilderrc | 10 ++++++++++ hosts/rpi2b-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/rpi2c-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/wbd0-armhf-rb/etc/pbuilderrc | 10 ++++++++++ hosts/wbq0-armhf-rb/etc/pbuilderrc | 10 ++++++++++ 28 files changed, 278 insertions(+), 12 deletions(-) (limited to 'hosts') diff --git a/hosts/bbx15-armhf-rb/etc/pbuilderrc b/hosts/bbx15-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/bbx15-armhf-rb/etc/pbuilderrc +++ b/hosts/bbx15-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/bpi0-armhf-rb/etc/pbuilderrc b/hosts/bpi0-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/bpi0-armhf-rb/etc/pbuilderrc +++ b/hosts/bpi0-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/cbxi4a-armhf-rb/etc/pbuilderrc b/hosts/cbxi4a-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/cbxi4a-armhf-rb/etc/pbuilderrc +++ b/hosts/cbxi4a-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/cbxi4b-armhf-rb/etc/pbuilderrc b/hosts/cbxi4b-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/cbxi4b-armhf-rb/etc/pbuilderrc +++ b/hosts/cbxi4b-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc b/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc +++ b/hosts/cbxi4pro0-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/ff2a-armhf-rb/etc/pbuilderrc b/hosts/ff2a-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/ff2a-armhf-rb/etc/pbuilderrc +++ b/hosts/ff2a-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/ff2b-armhf-rb/etc/pbuilderrc b/hosts/ff2b-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/ff2b-armhf-rb/etc/pbuilderrc +++ b/hosts/ff2b-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/ff4a-armhf-rb/etc/pbuilderrc b/hosts/ff4a-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/ff4a-armhf-rb/etc/pbuilderrc +++ b/hosts/ff4a-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/hb0-armhf-rb/etc/pbuilderrc b/hosts/hb0-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/hb0-armhf-rb/etc/pbuilderrc +++ b/hosts/hb0-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/jenkins-test-vm/etc/pbuilderrc b/hosts/jenkins-test-vm/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/jenkins-test-vm/etc/pbuilderrc +++ b/hosts/jenkins-test-vm/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/jenkins/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/jenkins/etc/pbuilderrc +++ b/hosts/jenkins/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/odxu4-armhf-rb/etc/pbuilderrc b/hosts/odxu4-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/odxu4-armhf-rb/etc/pbuilderrc +++ b/hosts/odxu4-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/odxu4b-armhf-rb/etc/pbuilderrc b/hosts/odxu4b-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/odxu4b-armhf-rb/etc/pbuilderrc +++ b/hosts/odxu4b-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/odxu4c-armhf-rb/etc/pbuilderrc b/hosts/odxu4c-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/odxu4c-armhf-rb/etc/pbuilderrc +++ b/hosts/odxu4c-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/opi2a-armhf-rb/etc/pbuilderrc b/hosts/opi2a-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/opi2a-armhf-rb/etc/pbuilderrc +++ b/hosts/opi2a-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/opi2b-armhf-rb/etc/pbuilderrc b/hosts/opi2b-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/opi2b-armhf-rb/etc/pbuilderrc +++ b/hosts/opi2b-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilderrc b/hosts/profitbricks-build1-amd64/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build1-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build1-amd64/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/profitbricks-build10-amd64/etc/pbuilderrc b/hosts/profitbricks-build10-amd64/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build10-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build10-amd64/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/profitbricks-build2-i386/etc/pbuilderrc b/hosts/profitbricks-build2-i386/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build2-i386/etc/pbuilderrc +++ b/hosts/profitbricks-build2-i386/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/profitbricks-build3-amd64/etc/pbuilderrc b/hosts/profitbricks-build3-amd64/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build3-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build3-amd64/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/profitbricks-build4-amd64/etc/pbuilderrc b/hosts/profitbricks-build4-amd64/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build4-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build4-amd64/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi 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 diff --git a/hosts/profitbricks-build6-i386/etc/pbuilderrc b/hosts/profitbricks-build6-i386/etc/pbuilderrc index 409ebc25..f6f607e1 100644 --- a/hosts/profitbricks-build6-i386/etc/pbuilderrc +++ b/hosts/profitbricks-build6-i386/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 diff --git a/hosts/profitbricks-build9-amd64/etc/pbuilderrc b/hosts/profitbricks-build9-amd64/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/profitbricks-build9-amd64/etc/pbuilderrc +++ b/hosts/profitbricks-build9-amd64/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/rpi2b-armhf-rb/etc/pbuilderrc b/hosts/rpi2b-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/rpi2b-armhf-rb/etc/pbuilderrc +++ b/hosts/rpi2b-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/rpi2c-armhf-rb/etc/pbuilderrc b/hosts/rpi2c-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/rpi2c-armhf-rb/etc/pbuilderrc +++ b/hosts/rpi2c-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/wbd0-armhf-rb/etc/pbuilderrc b/hosts/wbd0-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/wbd0-armhf-rb/etc/pbuilderrc +++ b/hosts/wbd0-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi diff --git a/hosts/wbq0-armhf-rb/etc/pbuilderrc b/hosts/wbq0-armhf-rb/etc/pbuilderrc index cc6c85a7..f6f607e1 100644 --- a/hosts/wbq0-armhf-rb/etc/pbuilderrc +++ b/hosts/wbq0-armhf-rb/etc/pbuilderrc @@ -29,3 +29,13 @@ if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 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") + ;; + *) ;; + esac +fi -- cgit v1.2.3-70-g09d2