summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-28 15:53:11 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-28 15:53:11 +0100
commitd3d2d322f6ced4f0d47371adc1e26f3513941854 (patch)
tree98c68c71f9586c1f3129cc886bba26c62601aa65 /hosts
parent5b7efc9513726b80e03da1960353abcd18b98682 (diff)
downloadjenkins.debian.net-d3d2d322f6ced4f0d47371adc1e26f3513941854.tar.xz
reproducible: ignore invalid signatures on repositories when running in the future
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
+