summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-06 23:34:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 13:19:55 +0000
commit8b00ec484fb851c301f13145e17707c0167feab1 (patch)
tree4f3aff4630050666829235d983af9bb570479b99 /meta/recipes-extended
parent37db519eedb7eb5cd4f14d05f30f5d580aa7458d (diff)
downloadopenembedded-core-8b00ec484fb851c301f13145e17707c0167feab1.tar.gz
iputils: Fix build determinism
The suid/setcap code depends on whether setcap is on the host system or not with suid as a fallback. Disable this functionality to be deterministic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/iputils/iputils_s20190709.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/iputils/iputils_s20190709.bb b/meta/recipes-extended/iputils/iputils_s20190709.bb
index a672ccdb7c..e0d2ae160e 100644
--- a/meta/recipes-extended/iputils/iputils_s20190709.bb
+++ b/meta/recipes-extended/iputils/iputils_s20190709.bb
@@ -34,7 +34,8 @@ PACKAGECONFIG[docs] = "-DBUILD_HTML_MANS=true -DBUILD_MANS=true,-DBUILD_HTML_MAN
inherit meson update-alternatives
-EXTRA_OEMESON += "--prefix=${root_prefix}/"
+# Have to disable setcap/suid as its not deterministic
+EXTRA_OEMESON += "--prefix=${root_prefix}/ -DNO_SETCAP_OR_SUID=true"
ALTERNATIVE_PRIORITY = "100"