Improve build script to force golang.org/x/sys/unix to downgrade to 33/67733/1
authorStephen Wong <stephen.kf.wong@gmail.com>
Fri, 26 Apr 2019 05:46:40 +0000 (05:46 +0000)
committerStephen Wong <stephen.kf.wong@gmail.com>
Tue, 30 Apr 2019 22:27:20 +0000 (22:27 +0000)
go-1.11 version such that it would be compatible with netlink library

Change-Id: Iaecef476c651b3359021574678274e78d865f614
Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
clover/clovisor/bin/clovisor
clover/clovisor/build.sh

index 9d05b48..c601de3 100755 (executable)
Binary files a/clover/clovisor/bin/clovisor and b/clover/clovisor/bin/clovisor differ
index 4a9cfe6..95c0768 100755 (executable)
@@ -9,6 +9,7 @@ GOVERSION=1.12
 OS=linux
 ARCH=amd64
 GOPATH=/home/s3wong/go
+GOLANGUNIXVERSION=release-branch.go1.11
 CLIENTGOVERSION=v10.0.0
 
 SRCDIR=`pwd`
@@ -33,6 +34,8 @@ go get github.com/uber/jaeger-client-go
 go get github.com/vishvananda/netlink
 go get github.com/vishvananda/netns
 go get golang.org/x/sys/unix
+cd $GOPATH/src/golang.org/x/sys/unix
+git checkout $GOLANGUNIXVERSION
 
 go get github.com/tools/godep
 go get k8s.io/client-go/...