diff options
author | Aleksey Smirnov <aleksey.smirnov@yadro.com> | 2024-02-07 14:51:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-15 09:34:34 +0000 |
commit | 0fe85ce0c6708438fe6f6a33488f54b34b6d82d1 (patch) | |
tree | 344ae9cf4920d031225555ea588bb63946f079a1 /meta/recipes-core/busybox | |
parent | b554ea9e36a39b496832deccaa0c54bdea9d7077 (diff) | |
download | poky-0fe85ce0c6708438fe6f6a33488f54b34b6d82d1.tar.gz |
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 <aleksey.smirnov@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox-inittab_1.36.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
23 | device=$(echo $s | cut -d\; -f 2) | 23 | device=$(echo $s | cut -d\; -f 2) |
24 | label=$(echo $device | sed -e 's/tty//' | tail --bytes=5) | 24 | label=$(echo $device | sed -e 's/tty//' | tail --bytes=5) |
25 | 25 | ||
26 | echo "::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab | 26 | echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab |
27 | done | 27 | done |
28 | 28 | ||
29 | if [ "${USE_VT}" = "1" ]; then | 29 | if [ "${USE_VT}" = "1" ]; then |