From d3d2d322f6ced4f0d47371adc1e26f3513941854 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 28 Nov 2015 15:53:11 +0100 Subject: reproducible: ignore invalid signatures on repositories when running in the future --- hosts/profitbricks-build5-amd64/etc/pbuilderrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/profitbricks-build5-amd64') 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 + -- cgit v1.2.3-70-g09d2