From b881b2ebd01e3f86e083e29e2e330986b041c85b Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 12 Nov 2015 20:35:48 +0000 Subject: reproducible: set up pbuilder before trying to run it --- bin/reproducible_setup_pbuilder.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index 753d7fae..7ff584cd 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -57,6 +57,10 @@ Mb0BawlXZui0MNUSnZtxHMxrjejdvZdqtskHl9srB1QThH0jasmUqbQPxCnxMbf1 =X8YA -----END PGP PUBLIC KEY BLOCK-----" | apt-key add - echo 'deb http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list +echo +echo "Configuring APT to ignore the Release file expiration" +echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future +echo apt-get update apt-get -y upgrade apt-get install -y $@ @@ -67,9 +71,6 @@ 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/398future -echo EOF } -- cgit v1.2.3-70-g09d2