mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/util-linux: disable runuser for the host build
runuser allows running commands as another user, but needs to run as
root to be able to setuid(). But Buildroot does not require running as
root, and so runuser can't be used.
Incientally, that fixes host build in case unsuitable libs are found on
the system:
http://lists.busybox.net/pipermail/buildroot/2021-February/304261.html
Reported-by: GA K <guyarkam@gmail.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
- expand the commit log with a more fundamental explanation that
runuser can't be used anyway
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 955d6c099b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
415c99917e
commit
3fade8ff9b
@@ -210,6 +210,7 @@ HOST_UTIL_LINUX_CONF_OPTS += \
|
||||
--disable-nsenter \
|
||||
--disable-pg \
|
||||
--disable-rfkill \
|
||||
--disable-runuser \
|
||||
--disable-schedutils \
|
||||
--disable-setpriv \
|
||||
--disable-setterm \
|
||||
|
||||
Reference in New Issue
Block a user