[OE-core] [PATCH 1/4] util-linux: add setpriv utility

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jun 15 15:16:40 UTC 2019


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 <Randy.MacLeod at windriver.com>
> ---
>  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

Cheers,

Richard



More information about the Openembedded-core mailing list