aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-11-10 15:41:16 +0100
committerLoys Ollivier <lollivier@baylibre.com>2017-11-10 15:41:16 +0100
commit194146352ba54913d558487c61d356859b4d7fc1 (patch)
tree7fee9d66a53f4e28db43c5bccb8b43a2573b6df7 /packer
parent7ffc16fa46827b3d0289139fc23f2e9122efddf1 (diff)
packer/provision: agl_dependencies force lava-tool version 0.19
lava-tool version 0.14 from ubuntu xenial is almost deprecated. Use the jessie-backeports version 0.19. Change-Id: I4ddb6eb81757ffdb978c8d2edafc4931cf5a42a4 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/agl_dependencies.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index 9a27ddaf..b9b9801c 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -3,6 +3,9 @@
set -x
+sudo su -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list"
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
+
cat /etc/apt/sources.list
# Make sure that we aren't using the vexxhost mirrors as they have issues
@@ -19,8 +22,9 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \
libtool libglib2.0-dev libarchive-dev python-git git python python-minimal repo \
tree rsync python-yaml python-requests curl tar docker.io pandoc python3 \
ruby-all-dev ruby-ffi ruby-ffi-* jekyll ruby-redcarpet npm mkdocs nodejs \
- lava-tool python-pip
+ python-pip
+DEBIAN_FRONTEND=noninteractive apt-get install -y -t jessie-backports lava-tool=0.19-1~bpo8+1
# we have a build blocker wrt useradd - I assume it is caused by /bin/sh being dash
# systemd: Performing useradd with