From b859333ade7ffa522259f9e1e8820a5e79c2db09 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 12 Nov 2015 19:29:04 +0100 Subject: reproducible: fix syntax to make apt ignore future validation errors --- TODO | 2 -- bin/reproducible_setup_pbuilder.sh | 2 +- bin/schroot-create.sh | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index fc11b02e..6c292fdd 100644 --- a/TODO +++ b/TODO @@ -174,8 +174,6 @@ This is about Debian, below are more todo entries for other projects… ** check that /srv/workspace/pbuilder/ is cleaned up properly ** right align all numbers in table in the dashboard ** do final s#debbindiff#diffoscope#g and s#dbd#ds#g and rename .debbindiff.html+txt files as well as the dbd directories... -** run pb2-amd64 builder 398 days in the future… (that way we will notice problems soon) -*** Acquire::Check-Valid-Until "false" should help, when setting the time to the future ** pkg sets related: *** fix essential set: currently it only has the ones explicitly marked Essential:yes; they and their dependencies make up the full "essential closure set" (sometimes also called pseudo-essential) *** replace bin/reproducible_installed_on_debian.org with a proper data provider from DSA, eg https://anonscm.debian.org/cgit/mirror/debian.org.git/plain/debian/control diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index 4fdee352..753d7fae 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -68,7 +68,7 @@ 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 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future echo EOF } diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 8637fa6e..4f572f2f 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -93,7 +93,7 @@ Mb0BawlXZui0MNUSnZtxHMxrjejdvZdqtskHl9srB1QThH0jasmUqbQPxCnxMbf1 -----END PGP PUBLIC KEY BLOCK-----" | apt-key add - echo echo "Configuring APT to ignore the Release file expiration" -echo 'Acquire::Check-Valid-Until "false"' > /etc/apt/apt.conf.d/398future +echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future echo EOF } -- cgit v1.2.3-54-g00ecf