summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build5-amd64/etc
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-12 19:35:35 +0000
committerHolger Levsen <holger@layer-acht.org>2015-11-12 20:38:22 +0100
commitd5e6befb63675059b4f2c4f353c18b8dd86acb1a (patch)
tree61b909e84ff7a46625a85f23cd2aa2e5e34c9c8b /hosts/profitbricks-build5-amd64/etc
parentf778b865a98a293eb24fe682d40a6393c7d6d9f1 (diff)
downloadjenkins.debian.net-d5e6befb63675059b4f2c4f353c18b8dd86acb1a.tar.xz
reproducible: set APTGETOPT=('-o' 'Acquire::Check-Valid-Until=false') when creating the chroot, should allow to ignore the expired Release file
Diffstat (limited to 'hosts/profitbricks-build5-amd64/etc')
-rw-r--r--hosts/profitbricks-build5-amd64/etc/pbuilderrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/profitbricks-build5-amd64/etc/pbuilderrc b/hosts/profitbricks-build5-amd64/etc/pbuilderrc
index dad1de70..e4c03f9b 100644
--- a/hosts/profitbricks-build5-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build5-amd64/etc/pbuilderrc
@@ -29,3 +29,8 @@ 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
+case "$PBCURRENTCOMMANDLINEOPERATION" in
+ --create|create)
+ APTGETOPT=('-o' 'Acquire::Check-Valid-Until="false"')
+ ;;
+esac