]> code.ossystems Code Review - openembedded-core.git/commit
iputils: Fix cap_net_raw for installed binaries
authorJate Sujjavanich <jatedev@gmail.com>
Sat, 27 Feb 2021 00:40:10 +0000 (00:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Mar 2021 14:15:27 +0000 (14:15 +0000)
commit6b31f6b9a6a12a12d1d10b8634012e50ef778ec4
tree0ff9c3a84f14378c5f0656a6b7fdef0523d0d189
parent91264e14a088013b138e82520744f79fa7c8d585
iputils: Fix cap_net_raw for installed binaries

Add libcap-native to libcap PACKAGECONFIG  making native setcap available
during the build. This assures its availability during install and prevents
meson from searching absolute paths and the resulting possible host
contamination.

Move -DNO_SETCAP_OR_SUID=true to the libcap PACKAGECONFIG negative case
This will prevent possible non-determinism for the setuid case.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/iputils/iputils_s20200821.bb