meta-virtualization/recipes-networking
Mark Asselstine de94eb1572 cni: prevent go from downloading stuff in the background
While testing the cni uprev by building in a container with
network=none the following error was found:

  go: github.com/Microsoft/go-winio@v0.4.11: Get
   https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/v0.4.11.mod:
   dial tcp: lookup proxy.golang.org on 128.224.144.130:53:
   dial udp 128.224.144.130:53: connect: network is unreachable

After some digging through the go documentation it was found that the
'-mod=vendor' is required for 'go build' to use shipped vendor modules
when building modules. This can be confirmed by look at the
'build_linux.sh' script which is found in the plugins repo.

By using '-mod=vendor' and also ensuring things are properly placed in
the GOPATH (ie $B) we can avoid having to create many of the links we
had been previously.

We also put all the build artifacts into $B to avoid mixing source and
build.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-13 21:53:26 -04:00
..
cni cni: prevent go from downloading stuff in the background 2020-03-13 21:53:26 -04:00
netns netns: Fix build on qemux86-64 2019-09-26 10:35:25 -04:00
openvswitch openvswitch-git: refresh patch to fix patch-fuzz warning 2020-03-02 15:05:18 -05:00
slirp4netns slirp4netns: add slirp4netns user-mode networking 2019-10-02 14:13:35 -04:00