dist/debian: change jessie-backport repo URL

Since jessie-backports repo is no longer maintained, repo URL need to
change to archive.debian.org, also need to specify
Acquire::Check-Valid-Until=false.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <20190327120916.25036-1-syuu@scylladb.com>
This commit is contained in:
Takuya ASADA 2019-03-27 21:09:16 +09:00 committed by Avi Kivity
parent 6b9248fad0
commit b575bc9520
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Acquire::Check-Valid-Until "false";

View File

@ -133,7 +133,7 @@ fi
sudo rm -fv /var/cache/pbuilder/scylla-jmx-$TARGET.tgz
sudo -E DIST=$TARGET /usr/sbin/pbuilder clean --configfile ./dist/debian/pbuilderrc
sudo -E DIST=$TARGET /usr/sbin/pbuilder create --configfile ./dist/debian/pbuilderrc
sudo -E DIST=$TARGET /usr/sbin/pbuilder create --configfile ./dist/debian/pbuilderrc --aptconfdir dist/debian/apt
sudo -E DIST=$TARGET /usr/sbin/pbuilder update --configfile ./dist/debian/pbuilderrc
if [ "$TARGET" = "jessie" ]; then
echo "apt-get install -y -t jessie-backports ca-certificates-java" > build/jessie-pkginst.sh

View File

@ -18,7 +18,7 @@ elif [ "$DIST" = "jessie" ] || [ "$DIST" = "stretch" ] || [ "$DIST" = "buster" ]
COMPONENTS="main contrib non-free"
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
if [ "$DIST" = "jessie" ]; then
OTHERMIRROR="deb http://httpredir.debian.org/debian jessie-backports main"
OTHERMIRROR="deb http://archive.debian.org/debian jessie-backports main"
fi
else
echo "Unknown distribution: $DIST"