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>
# 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