meta-virtualization/recipes-networking
Mark Asselstine fb524ca5a2 netns: change build target to 'build' instead of 'static'
Attempting to build for x86-64 will result in an error:
   cannot find package runtime/cgo (using -importcfg)
   ...go/pkg/tool/linux_amd64/link: cannot open file : open : no such file or directory

As a workaround we switch the build target to 'build' which results in
a slightly smaller executable but does mean that several dynamic
libraries are required to run the generated executable. This shouldn't
be a problem as the build system will ensure the libraries are present
on images where the executable will be included. This change only
means the executable can't be copied as a single entity to a different
machine and run.

We do also patch the Makefile to allow the 'static' target to build
successfully and in the patch commit log we describe the issue in full
(at least in as much detail as we currently have on the issue). But
since the issue isn't fully understood we don't recommend the 'static'
build to be used at this time, thus default to the 'build' target.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:42:42 -04:00
..
cni cni: update to latest plugins, and skip windows bridge build 2018-11-02 21:21:27 -04:00
netns netns: change build target to 'build' instead of 'static' 2019-03-20 14:42:42 -04:00
openvswitch openvswitch: uprev from v2.10.1 to v2.11 2019-02-03 03:49:55 +00:00