diff options
author | 2019-04-26 05:46:40 +0000 | |
---|---|---|
committer | 2019-04-26 05:46:40 +0000 | |
commit | b02fb6ecf00180352762ad109439c9980d8dee62 (patch) | |
tree | 4fc9c0fe9f43c992448aab5dd44eee1072b3951d | |
parent | f61460cae11f6859b857c354171c9af9d38cbb67 (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-x | clover/clovisor/bin/clovisor | bin | 46391472 -> 46419408 bytes | |||
-rwxr-xr-x | clover/clovisor/build.sh | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/clover/clovisor/bin/clovisor b/clover/clovisor/bin/clovisor Binary files differindex 9d05b48..c601de3 100755 --- a/clover/clovisor/bin/clovisor +++ b/clover/clovisor/bin/clovisor 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/... |