From 0fe85ce0c6708438fe6f6a33488f54b34b6d82d1 Mon Sep 17 00:00:00 2001 From: Aleksey Smirnov Date: Wed, 7 Feb 2024 14:51:06 +0300 Subject: busybox: Explicitly specify tty device for serial consoles Description: In case of two or more consoles are in inittab, and not specified tty device for first one, some keys works improperly, ex: arrows, backspace, pgup/pgdown; The patch is fixes this issue. (From OE-Core rev: 7eea4ef84d74e618fb00fa73c773acdf775d052a) Signed-off-by: Aleksey Smirnov Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/busybox/busybox-inittab_1.36.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/busybox') diff --git a/meta/recipes-core/busybox/busybox-inittab_1.36.1.bb b/meta/recipes-core/busybox/busybox-inittab_1.36.1.bb index 8ee88b6aef..6904a91930 100644 --- a/meta/recipes-core/busybox/busybox-inittab_1.36.1.bb +++ b/meta/recipes-core/busybox/busybox-inittab_1.36.1.bb @@ -23,7 +23,7 @@ do_install() { device=$(echo $s | cut -d\; -f 2) label=$(echo $device | sed -e 's/tty//' | tail --bytes=5) - echo "::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab + echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab done if [ "${USE_VT}" = "1" ]; then -- cgit v1.2.3-54-g00ecf