Update hwtest dependencies
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 2 Dec 2020 21:30:23 +0000 (22:30 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 2 Dec 2020 21:30:23 +0000 (22:30 +0100)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I908a275715401de4d660b34c84185ad1611dd5e5

packer/provision/agl_hwtest_dependencies.sh

index d950d49..594f073 100644 (file)
@@ -23,16 +23,18 @@ cat /etc/apt/sources.list
 
 DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y -u dist-upgrade
 
+DEBIAN_FRONTEND=noninteractive dpkg --configure -a 
+
 DEBIAN_FRONTEND=noninteractive apt-get update && \
-    apt-get -y install wget 
-                       python-pip zip unzip iperf3 \
+    apt-get -y install wget python python3 python-pip zip unzip iperf3 \
                       debian-keyring debian-archive-keyring \
                       python3-pip python3-yaml
 
 # Adding stretch-backports for lavacli
-echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
+#echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
+#DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -t stretch-backports lavacli
 
-DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -t stretch-backports lavacli
+pip3 install lavacli
 
 # we have a build blocker wrt useradd - I assume it is caused by /bin/sh being dash
 # systemd: Performing useradd with