From: Aurelien Jarno Date: Tue, 22 Jan 2019 19:31:47 +0000 (+0100) Subject: 99builddsourceslist: disable apt redirects in chroots X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=840177adeb15e1a9f23cff136708eb60a10cd3a7;p=mirror%2Fdsa-puppet.git 99builddsourceslist: disable apt redirects in chroots --- diff --git a/modules/schroot/files/schroot-setup.d/99builddsourceslist b/modules/schroot/files/schroot-setup.d/99builddsourceslist index ad1354afc..535c83679 100755 --- a/modules/schroot/files/schroot-setup.d/99builddsourceslist +++ b/modules/schroot/files/schroot-setup.d/99builddsourceslist @@ -178,6 +178,7 @@ if [ "$1" = "setup-start" ] || [ "$1" = "setup-recover" ]; then echo 'APT::Install-Recommends 0;' >> ${APT_CONF} echo 'Dir::Etc::SourceList "sources.buildd.list";' >> ${APT_CONF} echo 'Acquire::Languages "none";' >> ${APT_CONF} + echo 'Acquire::http::AllowRedirect "false";' >> ${APT_CONF} if [ -n "${APT_KEYS}" ]; then for KEY in ${APT_KEYS}; do