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>
(cherry picked from commit 962a42dbd5
)
This commit is contained in:
parent
a1ea187aa6
commit
8b8fe07298
1
dist/ubuntu/build_deb.sh
vendored
1
dist/ubuntu/build_deb.sh
vendored
@ -31,6 +31,7 @@ fi
|
|||||||
if [ "$CODENAME" = "jessie" ]; then
|
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 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 -y update
|
||||||
|
sudo apt-get install -t jessie-backports -y ca-certificates-java
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=$(./SCYLLA-VERSION-GEN)
|
VERSION=$(./SCYLLA-VERSION-GEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user