dist/debian: install ca-certificates-java/jessie-backports for Debian8

openjdk-8-jre-headless/jessie-backports requires
ca-certificates-java/jessie-backports, but apt doesn't override
ca-certificates-java/jessie by default.

So install it before installing openjdk-8.

Fixes #40

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <1487269613-21196-1-git-send-email-syuu@scylladb.com>
This commit is contained in:
Takuya ASADA 2017-02-17 03:26:53 +09:00 committed by Avi Kivity
parent db711b4b53
commit 962a42dbd5

View File

@ -31,6 +31,7 @@ fi
if [ "$CODENAME" = "jessie" ]; then
sudo sh -c 'echo deb "http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list'
sudo apt-get -y update
sudo apt-get install -t jessie-backports -y ca-certificates-java
fi
VERSION=$(./SCYLLA-VERSION-GEN)