aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packer/provision/agl_dependencies.sh6
-rw-r--r--packer/provision/agl_mirror.sh16
2 files changed, 13 insertions, 9 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index 9a27ddaf..7ddfa05b 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 python-simplejson
+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
diff --git a/packer/provision/agl_mirror.sh b/packer/provision/agl_mirror.sh
index a61090a8..9bfc264e 100644
--- a/packer/provision/agl_mirror.sh
+++ b/packer/provision/agl_mirror.sh
@@ -10,14 +10,14 @@ repo sync
cd
#mirror sstate-cache into /opt/AGL/sstate-mirror
-mkdir -p /opt/AGL/sstate-mirror
-cd /opt/AGL/sstate-mirror
-wget --mirror -np -nH --convert-links "http://download.automotivelinux.org/sstate-mirror/" -A siginfo -A tgz --cut-dirs=1
-cd
+#mkdir -p /opt/AGL/sstate-mirror
+#cd /opt/AGL/sstate-mirror
+#wget --mirror -np -nH --convert-links "http://download.automotivelinux.org/sstate-mirror/" -A siginfo -A tgz --cut-dirs=1
+#cd
#mirror downloads into /opt/AGL/premirror
-mkdir -p /opt/AGL/premirror
-cd /opt/AGL/premirror
-wget --mirror -r -l1 -np -nH --convert-links "http://download.automotivelinux.org/AGL/mirror/" -R 'done' -R 'O=A,O=D' --cut-dirs=2
-cd
+#mkdir -p /opt/AGL/premirror
+#cd /opt/AGL/premirror
+#wget --mirror -r -l1 -np -nH --convert-links "http://download.automotivelinux.org/AGL/mirror/" -R 'done' -R 'O=A,O=D' --cut-dirs=2
+#cd