From 2a9a5b275f067585275e53931ae5f0548bfaac53 Mon Sep 17 00:00:00 2001 From: Raphael Schlarb Date: Wed, 6 Aug 2025 16:20:19 +0200 Subject: [PATCH] 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 --- meta/recipes-core/busybox/busybox-inittab_1.37.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3