summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netns/files/0001-Allow-selection-of-go-compiler.patch
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2019-04-11 22:20:05 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-04-12 10:51:17 -0400
commit5b92dace1df5909623e011cb9117c931a2f171b2 (patch)
treeb8deb83704676afc6469de44faf339434fef3e8b /recipes-networking/netns/files/0001-Allow-selection-of-go-compiler.patch
parentdfceafea9fa1291de4a9f3fb748e7be5b423d370 (diff)
downloadmeta-virtualization-5b92dace1df5909623e011cb9117c931a2f171b2.tar.gz
cri-o: build crio-config natively to generate conmon/config.h
Part of building cri-o is the generation of the 'conmon/config.h' file. The content of this file is dynamic in that it has buffer sizes and a socket path which will depend on constants that are set in other parts of the code. For example the socket path can be setup for Windows or for Linux. To generate 'conmon/config.h' a small GO application is built and run called crio-config. This isn't really suitable for a -native package but we do have to run crio-config on the build host so we don't want to cross compile it. We therefor use the native GO to build this. This change allows things to work when the build host arch and the target arch don't match. A small update to the Makefile avoids mixing build host arch and target arch GO packages. Finally, We drop the crio-config binary from the install as it is only used to create the conmon/config.h as part of the build. This is consistent with the Makefile's install rule which does not install this binary as it has no use on the target. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/netns/files/0001-Allow-selection-of-go-compiler.patch')
0 files changed, 0 insertions, 0 deletions