From 393bbec3bebdc01ce699511c4616763f0304b85a Mon Sep 17 00:00:00 2001 From: Christian Hewitt Date: Sat, 21 Dec 2024 13:41:57 +0000 Subject: [PATCH] util-linux: enable agetty when LOCAL_LOGIN is defined Signed-off-by: Christian Hewitt --- packages/sysutils/util-linux/package.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/sysutils/util-linux/package.mk b/packages/sysutils/util-linux/package.mk index 5208cd1a92b..8cfeba4d07d 100644 --- a/packages/sysutils/util-linux/package.mk +++ b/packages/sysutils/util-linux/package.mk @@ -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