On 6/15/19 11:16 AM, Richard Purdie wrote:
On Fri, 2019-06-14 at 12:45 -0400, Randy MacLeod wrote:
Enable the setpriv utility for targets only. It will be used in
the run-ptest script for bash and perhaps other packages where
the ptest code is expected to run as a user.

setpriv uses libcap-ng which doesn't build natively so disable
it for native* builds. Also, busybox has a setpriv implementation
so ensure that setpriv adheres to the alternatives scheme.

Signed-off-by: Randy MacLeod <[email protected]>
---
  meta/recipes-core/util-linux/util-linux.inc | 15 +++++++++++----
  1 file changed, 11 insertions(+), 4 deletions(-)

No errors but the build is now seeing warnings e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/703


Fixed for my populate_sdk_ext build at least and hopefully for the
autobuild tests. v3 sent.

../Randy

Cheers,

Richard



--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to