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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment