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>
This commit is contained in:
Peter Seiderer 2021-02-27 16:54:13 +01:00 committed by Yann E. MORIN
parent 9598b7a00b
commit 955d6c099b

View File

@ -211,6 +211,7 @@ HOST_UTIL_LINUX_CONF_OPTS += \
--disable-nsenter \ --disable-nsenter \
--disable-pg \ --disable-pg \
--disable-rfkill \ --disable-rfkill \
--disable-runuser \
--disable-schedutils \ --disable-schedutils \
--disable-setpriv \ --disable-setpriv \
--disable-setterm \ --disable-setterm \