summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build5-amd64/etc/pbuilderrc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build5-amd64/etc/pbuilderrc')
-rw-r--r--hosts/profitbricks-build5-amd64/etc/pbuilderrc7
1 files changed, 7 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
+