[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
Fri Jun 7 11:07:28 BST 2019



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


Commits:
5a51e8af by Mattia Rizzolo at 2019-06-07T10:06:09Z
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.

(applied again bbe0f1b2431786118eb7368b883ee6be2a35c19e after it was
reverted)

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/5a51e8af93eaacc45b61305cd3ec6999e30333b6

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/5a51e8af93eaacc45b61305cd3ec6999e30333b6
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/20190607/d949dcd2/attachment.html>


More information about the Qa-jenkins-scm mailing list