package/util-linux: disable runuser for the host build
authorPeter Seiderer <ps.report@gmx.net>
Sat, 27 Feb 2021 15:54:13 +0000 (16:54 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 1 Mar 2021 21:35:51 +0000 (22:35 +0100)
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>
package/util-linux/util-linux.mk

index 0178c52bac98077e6bb80ad4e99022fb970e52e4..09acaca1a7d10d8ec583f02f8c832c715a3331a5 100644 (file)
@@ -211,6 +211,7 @@ HOST_UTIL_LINUX_CONF_OPTS += \
        --disable-nsenter \
        --disable-pg \
        --disable-rfkill \
+       --disable-runuser \
        --disable-schedutils \
        --disable-setpriv \
        --disable-setterm \