From 3fade8ff9b122d72b97fd01bd75a44956d4a161a Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Sat, 27 Feb 2021 16:54:13 +0100 Subject: [PATCH] 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 Signed-off-by: Peter Seiderer [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 (cherry picked from commit 955d6c099b2035dcca47554a735a4c700b5d3e1e) Signed-off-by: Peter Korsgaard --- package/util-linux/util-linux.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index b726f89505..82a5751a53 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -210,6 +210,7 @@ HOST_UTIL_LINUX_CONF_OPTS += \ --disable-nsenter \ --disable-pg \ --disable-rfkill \ + --disable-runuser \ --disable-schedutils \ --disable-setpriv \ --disable-setterm \