diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-07-02 09:22:58 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2020-07-02 09:25:30 +0200 |
commit | d6a0dad7d3659f022fbe8c98731575dc07d913b3 (patch) | |
tree | 1cd246a466765e9678855196775d6d989004609e /packer/provision | |
parent | 82028947e5568f6a3bf8f4fdb7b8b1a542bb3967 (diff) |
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 <clabbe@baylibre.com>
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 <<EOF deb http://ppa.launchpad.net/longsleep/golang-backports/ubuntu ${VERSION_CODENAME} main |