meta-virtualization/recipes-networking
Changqing Li 88327090d2 cni: clean dir ${B}/plugins before do_compile
Clean dir ${B}/plugins before do_compile to avoid cni generated binaries
like /usr/libexec/cni/bridge has wrong dynamic linker path and reports
error like: /usr/libexec/cni/bridge: no such file or directory".

Reproduce steps:
1. bitbake cni
2. enable usrmerge feature in local.conf
3. bitbake cni

After step 2, GOBUILDFLAGS changed,
"-I /lib64/ld-linux-aarch64.so.1" -> "/usr/lib/ld-linux-aarch64.so.1"

But "go build" seems only check if the cached packagefile changed, since
all not changed, the dynamic linker still use the old one, maybe go
build should improve this.

Clean dir ${B}/plugins to trigger rebuild of the binaries here.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-12-14 19:59:10 +00:00
..
cni cni: clean dir ${B}/plugins before do_compile 2023-12-14 19:59:10 +00:00
netns netns: adjust GOROOT, CGO_CFLAGS and CGO_LDFALGS 2022-06-20 12:09:51 -04:00
openvswitch ovs: update to 2.17.6 2023-04-21 11:32:25 -04:00
slirp slirp: update to 4.6.1-latest 2022-03-29 08:05:48 -04:00
slirp4netns slirp4netns: Runtime recommend the tun kernel module 2022-07-15 17:13:04 -04:00