summaryrefslogtreecommitdiffstats
path: root/hosts/bpi0-armhf-rb/etc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/bpi0-armhf-rb/etc')
-rw-r--r--hosts/bpi0-armhf-rb/etc/pbuilderrc10
1 files changed, 10 insertions, 0 deletions
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