diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-12 15:43:58 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-12 18:14:59 +0100 |
commit | 765ee9d24f25d790dbfb2294ff76b103beb730a6 (patch) | |
tree | 10bc16c1b71e2c3837d686cca5d7724774c3279d /bin/reproducible_setup_pbuilder.sh | |
parent | 948c4b46b7759386cbc731a7a06055df8dc3133c (diff) | |
download | jenkins.debian.net-765ee9d24f25d790dbfb2294ff76b103beb730a6.tar.xz |
reproducible: set 'Acquire::Check-Valid-Until false' in the reproducible chroots
Diffstat (limited to 'bin/reproducible_setup_pbuilder.sh')
-rwxr-xr-x | bin/reproducible_setup_pbuilder.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index b4e93027..bbd7864b 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -67,6 +67,9 @@ dpkg -l echo for i in \$(dpkg -l |grep ^ii |awk -F' ' '{print \$2}'); do apt-cache madison "\$i" | head -1 | grep reproducible.alioth.debian.org || true ; done echo +echo "Configuring APT to ignore the Release file expiration" +echo 'Acquire::Check-Valid-Until "false"' > /etc/apt/apt.conf.d/400future +echo EOF } |