tests: Fixes jessie-dnsutils image build

Currently, the jessie-dnsutils image cannot be built for arm64, ppc64le, s390x,
as its mirrors has been moved to the archive.

This PR will replace its regular mirrors with the archive ones.
This commit is contained in:
Claudiu Belu 2019-07-10 14:10:49 -07:00
parent 021ad88ac4
commit 9ae1f41ca9

View File

@ -22,8 +22,11 @@ DEB_ARCH=$(dpkg --print-architecture)
case ${DEB_ARCH} in
s390x|arm64|ppc64el)
sed -i '/debian-security/d' /etc/apt/sources.list
;;
# we have to use the archive mirrors.
# See: https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html
echo "deb http://archive.debian.org/debian/ jessie main contrib non-free" | tee /etc/apt/sources.list
echo "deb-src http://archive.debian.org/debian/ jessie main contrib non-free" | tee -a /etc/apt/sources.list
;;
esac
exit 0