aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-07-10 15:45:12 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-07-10 15:45:12 +0000
commit3f1c235b6f3865001d0b24edef7aaf9e55b2b625 (patch)
treeac2a007239068c2129a690689bc9fbf57a7e8202 /packer/provision
parent75899f9453f99e96f69789337aa7cc02452812e2 (diff)
parent27db8f808860f7cfdec35a37bc17ae795ef59f69 (diff)
Merge "Crossbuild std go libraries for MacOS and Windows"
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/agl_dependencies.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index d26985c6..f36f152c 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -6,7 +6,7 @@ set -x
sudo su -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list"
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
-# go
+# go
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E
cat /etc/apt/sources.list
@@ -118,4 +118,8 @@ EOF"
sudo apt-get update
sudo apt-get install golang-go
+# Crossbuild standard go libraries for MacOS and Windows
+sudo GOOS=darwin GOARCH=amd64 go install -v -a std
+sudo GOOS=windows GOARCH=amd64 go install -v -a std
+
exit 0