Skip to content

Commit

Permalink
util-linux: enable agetty when LOCAL_LOGIN is defined
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hewitt <[email protected]>
  • Loading branch information
chewitt committed Dec 21, 2024
1 parent cdb6744 commit 393bbec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sysutils/util-linux/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 393bbec

Please sign in to comment.