util-linux: enable agetty when LOCAL_LOGIN is defined

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
This commit is contained in:
Christian Hewitt 2024-12-21 13:41:57 +00:00
parent b3f7a8667d
commit 2f159cc6e6
No known key found for this signature in database

View File

@ -59,6 +59,10 @@ PKG_CONFIGURE_OPTS_TARGET="${UTILLINUX_CONFIG_DEFAULT} \
--enable-mount \
--enable-nologin"
if [ "${LOCAL_LOGIN}" = "yes" ]; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-agetty"
fi
if [ "${SWAP_SUPPORT}" = "yes" ]; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-swapon"
fi