diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-12 19:35:35 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-12 20:38:22 +0100 |
commit | d5e6befb63675059b4f2c4f353c18b8dd86acb1a (patch) | |
tree | 61b909e84ff7a46625a85f23cd2aa2e5e34c9c8b /hosts/profitbricks-build5-amd64/etc | |
parent | f778b865a98a293eb24fe682d40a6393c7d6d9f1 (diff) | |
download | jenkins.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/pbuilderrc | 5 |
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 |