meta-virtualization/recipes-networking/cni
Chen Qi 0cc4d01dcb cni: fix textrel QA issue
When building cni, we get textrel QA issue like below:

  cni: ELF binary /usr/libexec/cni/macvlan has relocations in .text

The problem could be solved by adding '-buildmode=pie' to ${GO}.

In go.bbclass, this flag is added to GOBUILDFLAGS conditionally,
that is, if the arch is not mips nor riscv32, this '-buildmode=pie'
is added to GOBUILDFLAGS. So make use of that.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-07-05 23:46:19 -04:00
..
cni_git.bb cni: fix textrel QA issue 2023-07-05 23:46:19 -04:00
README.md cni: add README 2021-12-15 12:55:41 -05:00

CNI debug tip:

CNI_PATH=/opt/cni/bin /opt/cni/bin/cnitool add uniquename /var/run/netns/testingns