[OE-core] [PATCH 1/4] util-linux: add setpriv utility
Randy MacLeod
randy.macleod at windriver.com
Sun Jun 16 15:49:27 UTC 2019
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 <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
>
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
More information about the Openembedded-core
mailing list