summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2020-03-06 16:53:42 -0500
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-03-13 21:53:26 -0400
commitde94eb157240b1b15c2da091b203a03cbd69f7cf (patch)
treea9ca0f6e87853709e8432981aa1f7b300c03035d /recipes-graphics
parente65c3761e08ad5e4a7d33a8ccfb13d0a533d3343 (diff)
downloadmeta-virtualization-de94eb157240b1b15c2da091b203a03cbd69f7cf.tar.gz
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>
Diffstat (limited to 'recipes-graphics')
0 files changed, 0 insertions, 0 deletions