From: Raphael Schlarb Date: Wed, 6 Aug 2025 14:20:19 +0000 (+0200) Subject: busybox-inittab: add -L flag for getty X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a9a5b275f067585275e53931ae5f0548bfaac53;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git busybox-inittab: add -L flag for getty The -L (force local line) flag is almost always required for serial consoles, otherwise the terminal might hang. In sysvinit-inittab this flag is added through start_getty. Adding it here makes things more consistent. This was likely just overlooked when start_getty was replaced by getty in commit 7120278. Signed-off-by: Raphael Schlarb Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb b/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb index 5e6c44a2e33..8cc907726fe 100644 --- a/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb +++ b/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb @@ -22,7 +22,7 @@ do_install() { speed=$(echo $s | cut -d\; -f 1) device=$(echo $s | cut -d\; -f 2) - echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab + echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty -L $speed $device" >> ${D}${sysconfdir}/inittab done if [ "${USE_VT}" = "1" ]; then