aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-25 11:33:56 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-25 11:33:56 +0200
commit7ae267f4c17499904479a1d14cd3deb771d512df (patch)
tree4395f2067123f8973f1e5b30441bb7698bedef6e
parent2d8189ed863ed5ad0caa0696acb579dd8d363c88 (diff)
Update keys and switch debian mirror
URLs and keys have changed. Adapt the packer file. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4c5076c0a45149fde3795817b10966f500b5e611
-rw-r--r--packer/provision/agl_dependencies.sh8
-rw-r--r--packer/provision/agl_hwtest_dependencies.sh7
2 files changed, 11 insertions, 4 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index f71e701b..c95f12cc 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -6,10 +6,14 @@ set -x
sudo su -c "echo 'deb http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list"
sudo su -c "echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until"
-sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
+
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553 || true
# go
-sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E || true
+
+sudo su -c "sed -i 's;http://archive.debian.org/debian;http://deb.debian.org/debian;' /etc/apt/sources.list"
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010 || true
cat /etc/apt/sources.list
diff --git a/packer/provision/agl_hwtest_dependencies.sh b/packer/provision/agl_hwtest_dependencies.sh
index d38c852c..85b9e3ed 100644
--- a/packer/provision/agl_hwtest_dependencies.sh
+++ b/packer/provision/agl_hwtest_dependencies.sh
@@ -6,10 +6,13 @@ set -x
sudo su -c "echo 'deb http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list"
sudo su -c "echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until"
-sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553 || true
# go
-sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E || true
+
+sudo su -c "sed -i 's;http://archive.debian.org/debian;http://deb.debian.org/debian;' /etc/apt/sources.list"
+sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010 || true
cat /etc/apt/sources.list