From 194146352ba54913d558487c61d356859b4d7fc1 Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Fri, 10 Nov 2017 15:41:16 +0100 Subject: 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 --- packer/provision/agl_dependencies.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packer') 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 -- cgit 1.2.3-korg