summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/profitbricks-build5-amd64/etc/pbuilderrc7
-rw-r--r--hosts/profitbricks-build6-amd64/etc/pbuilderrc7
2 files changed, 14 insertions, 0 deletions
diff --git a/hosts/profitbricks-build5-amd64/etc/pbuilderrc b/hosts/profitbricks-build5-amd64/etc/pbuilderrc
index 726c2d68..665fac19 100644
--- a/hosts/profitbricks-build5-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build5-amd64/etc/pbuilderrc
@@ -29,3 +29,10 @@ 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…
+case "$PBCURRENTCOMMANDLINEOPERATION" in
+ --create|create)
+ APTGETOPT=(-o Acquire::Check-Valid-Until="false")
+ ;;
+esac
+
diff --git a/hosts/profitbricks-build6-amd64/etc/pbuilderrc b/hosts/profitbricks-build6-amd64/etc/pbuilderrc
index 726c2d68..665fac19 100644
--- a/hosts/profitbricks-build6-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build6-amd64/etc/pbuilderrc
@@ -29,3 +29,10 @@ 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…
+case "$PBCURRENTCOMMANDLINEOPERATION" in
+ --create|create)
+ APTGETOPT=(-o Acquire::Check-Valid-Until="false")
+ ;;
+esac
+