]> code.ossystems Code Review - openembedded-core.git/commitdiff
iputils: Fix build determinism
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Feb 2020 23:34:46 +0000 (23:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Feb 2020 13:19:55 +0000 (13:19 +0000)
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>
meta/recipes-extended/iputils/iputils_s20190709.bb

index a672ccdb7c0b25cd9ae1c867d6b9d394ac0c25ca..e0d2ae160ee02d4648cdf2e2087bc9b21ee24910 100644 (file)
@@ -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"