summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2019-04-26 05:46:40 +0000
committerStephen Wong <stephen.kf.wong@gmail.com>2019-04-30 22:27:20 +0000
commit034240460ccc6cbf1ca063c09327b8ea7ed8c62c (patch)
tree4fc9c0fe9f43c992448aab5dd44eee1072b3951d
parent1e38924a4e1be10c77af7c6c83141da62a987ece (diff)
Improve build script to force golang.org/x/sys/unix to downgrade to
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>
-rwxr-xr-xclover/clovisor/bin/clovisorbin46391472 -> 46419408 bytes
-rwxr-xr-xclover/clovisor/build.sh3
2 files changed, 3 insertions, 0 deletions
diff --git a/clover/clovisor/bin/clovisor b/clover/clovisor/bin/clovisor
index 9d05b48..c601de3 100755
--- a/clover/clovisor/bin/clovisor
+++ b/clover/clovisor/bin/clovisor
Binary files differ
diff --git a/clover/clovisor/build.sh b/clover/clovisor/build.sh
index 4a9cfe6..95c0768 100755
--- a/clover/clovisor/build.sh
+++ b/clover/clovisor/build.sh
@@ -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/...