summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iputils
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:20:01 +0000
commitd10da5f6e6d6d3600645dbe43ed412ff23b55095 (patch)
treebf7d7d962ea7e977273bd68af02d4e1b29b3d0e3 /meta/recipes-extended/iputils
parent49e4e1de7df1e38a907663a72d709db0bbf1bbbd (diff)
downloadpoky-d10da5f6e6d6d3600645dbe43ed412ff23b55095.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. (From OE-Core rev: 8b00ec484fb851c301f13145e17707c0167feab1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/iputils')
-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
34 34
35inherit meson update-alternatives 35inherit meson update-alternatives
36 36
37EXTRA_OEMESON += "--prefix=${root_prefix}/" 37# Have to disable setcap/suid as its not deterministic
38EXTRA_OEMESON += "--prefix=${root_prefix}/ -DNO_SETCAP_OR_SUID=true"
38 39
39ALTERNATIVE_PRIORITY = "100" 40ALTERNATIVE_PRIORITY = "100"
40 41