aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2021-02-27 16:54:13 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2021-03-01 22:35:51 +0100
commit955d6c099b2035dcca47554a735a4c700b5d3e1e (patch)
tree70549baa67aca834a546b8f3a214cf1d1ac8587a
parent9598b7a00bc7a97070cc38c5f241262c27a7f056 (diff)
downloadbuildroot-955d6c099b2035dcca47554a735a4c700b5d3e1e.tar.gz
buildroot-955d6c099b2035dcca47554a735a4c700b5d3e1e.tar.bz2
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>
-rw-r--r--package/util-linux/util-linux.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 0178c52bac..09acaca1a7 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -211,6 +211,7 @@ HOST_UTIL_LINUX_CONF_OPTS += \
--disable-nsenter \
--disable-pg \
--disable-rfkill \
+ --disable-runuser \
--disable-schedutils \
--disable-setpriv \
--disable-setterm \