diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-02 20:20:56 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-02 20:20:56 +0200 |
commit | 7d4c0b99ff1204e7e050292656bb84c1bd8ef8e7 (patch) | |
tree | 197dfe198aabb661e347077d157d797bfb6b72eb | |
parent | 392a1b32a384b7b17f2167f66349dd42ee19b840 (diff) | |
download | jenkins.debian.net-7d4c0b99ff1204e7e050292656bb84c1bd8ef8e7.tar.xz |
reproducible debian: unify /etc/pbuilderrc for all hosts
28 files changed, 278 insertions, 12 deletions
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 |