]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
util-linux: add setpriv utility
authorRandy MacLeod <Randy.MacLeod@windriver.com>
Sun, 16 Jun 2019 15:48:14 +0000 (11:48 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jun 2019 10:19:37 +0000 (11:19 +0100)
commit587ba5f4bef18e8260fe671bd2e303140369a5e5
treed0d518fb954edc46b01655cf038ccb50f4135910
parent50004f431a71c71af4acf0f25403fee5a8447eab
util-linux: add setpriv utility

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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux.inc