From d6a0dad7d3659f022fbe8c98731575dc07d913b3 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 2 Jul 2020 09:22:58 +0200 Subject: SPEC-3408: continue to fix packer build Go is never installed, because the repository is invalid. This is due to VERSION_CODENAME bing empty. The source of /etc/os-release wasnt working. The solution is to use the POSIX way by using "." instead of the bashism source. Bug-AGL: SPEC-3408 Change-Id: I0d3939271cd57c381c4ec2ce21734e9702855645 Signed-off-by: Corentin LABBE --- packer/provision/agl_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packer') diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index 5a8a0fcc..433ab7fd 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -133,7 +133,7 @@ sudo pip3 show jinja2 # install go for xds build -source /etc/os-release +. /etc/os-release wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | sudo apt-key add - sudo bash -c "cat >> /etc/apt/sources.list.d/golang.list <