Unverified Commit bbe0f1b2 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

reproducible debian: setup_pbuilder: use [check-valid-until=no] instead of...


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's avatarMattia Rizzolo <mattia@debian.org>
parent 2435823c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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