summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-11-03 01:04:35 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-11-03 16:33:11 +0300
commit5e5acc6e8d8097cb69e2aec5885b8ffe8a57244b (patch)
tree1eb1e692559f29899d9d50335f27a5c6d6f269dd
parentd1c5ace677d136168955a7692d06ff5b2068e0c8 (diff)
downloadlci-build-tools-5e5acc6e8d8097cb69e2aec5885b8ffe8a57244b.tar.gz
setup-precise-node: Install java7 as required for Jenkin 1.625.
Change-Id: Ib0c131dc38c8ab8e38ccc54de9ef217155309838
-rwxr-xr-xnode/setup-precise-node5
1 files changed, 4 insertions, 1 deletions
diff --git a/node/setup-precise-node b/node/setup-precise-node
index cb03c67..0edb1d4 100755
--- a/node/setup-precise-node
+++ b/node/setup-precise-node
@@ -74,7 +74,10 @@ apt-get-retry install -y \
uboot-mkimage \
unzip \
uuid-dev \
- zsync
+ zsync \
+ openjdk-7-jre-headless
+
+sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
# Add an sbuild user (ubuntu)
sbuild-adduser ubuntu