Commit 39af1fd3 authored by beuc's avatar beuc

SDK-10.0.0: openjdk is now prebuilt

parent f831ea7c
......@@ -18,26 +18,10 @@ echo 'dash dash/sh boolean false' | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure --pri=high dash
# https://source.android.com/setup/build/requirements
# The master branch of Android in AOSP comes with a prebuilt version
# of OpenJDK, so no additional installation is required.
# https://source.android.com/setup/build/older-versions#for-ubuntu-14-04
export DEBIAN_FRONTEND=noninteractive
# OpenJDK 8 N/A
#apt-get -y install openjdk-8-jdk
apt-get -y install wget
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb
checksumfile=$(mktemp)
cat <<'EOF' > $checksumfile
0f5aba8db39088283b51e00054813063173a4d8809f70033976f83e214ab56c0 openjdk-8-jre-headless_8u45-b14-1_amd64.deb
9ef76c4562d39432b69baf6c18f199707c5c56a5b4566847df908b7d74e15849 openjdk-8-jre_8u45-b14-1_amd64.deb
6e47215cf6205aa829e6a0a64985075bd29d1f428a4006a80c9db371c2fc3c4c openjdk-8-jdk_8u45-b14-1_amd64.deb
EOF
sha256sum -c $checksumfile || exit 1
dpkg -i openjdk-8-jdk_8u45-b14-1_amd64.deb \
openjdk-8-jre-headless_8u45-b14-1_amd64.deb \
openjdk-8-jre_8u45-b14-1_amd64.deb || true
apt-get -y -f install
# https://source.android.com/setup/build/initializing
apt-get -y install git-core gnupg flex bison gperf build-essential zip \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment