[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian: setup_pbuilder: use [check-valid-until=no] instead of...

Mattia Rizzolo gitlab at salsa.debian.org
Wed Apr 3 11:39:00 BST 2019



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
bbe0f1b2 by Mattia Rizzolo at 2019-04-03T10:37:12Z
reproducible debian: setup_pbuilder: use [check-valid-until=no] instead of Acquire::Check-Valid-Until

this way src:debian-installer will pick up the setting as well while
building, and know to ignore Release expiration.  Otherwise, the chnage
shold be logically equivalent anyway for our uses.

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_setup_pbuilder.sh


Changes:

=====================================
bin/reproducible_setup_pbuilder.sh
=====================================
@@ -42,7 +42,7 @@ EOF
 	if "$NODE_RUN_IN_THE_FUTURE" ; then
 		cat >> $TMPFILE <<- EOF
 			echo "Configuring APT to ignore the Release file expiration"
-			echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future
+			sed -i 's,^deb ,deb [check-valid-until=no] ,g' /etc/apt/sources.list
 			echo
 		EOF
 	fi



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bbe0f1b2431786118eb7368b883ee6be2a35c19e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bbe0f1b2431786118eb7368b883ee6be2a35c19e
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190403/a66cebb1/attachment.html>


More information about the Qa-jenkins-scm mailing list