summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build2-i386/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-02 20:20:56 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-02 20:20:56 +0200
commit7d4c0b99ff1204e7e050292656bb84c1bd8ef8e7 (patch)
tree197dfe198aabb661e347077d157d797bfb6b72eb /hosts/profitbricks-build2-i386/etc
parent392a1b32a384b7b17f2167f66349dd42ee19b840 (diff)
downloadjenkins.debian.net-7d4c0b99ff1204e7e050292656bb84c1bd8ef8e7.tar.xz
reproducible debian: unify /etc/pbuilderrc for all hosts
Diffstat (limited to 'hosts/profitbricks-build2-i386/etc')
-rw-r--r--hosts/profitbricks-build2-i386/etc/pbuilderrc10
1 files changed, 10 insertions, 0 deletions
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