summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Schlarb <r.schlarb@instar.de>2025-08-06 16:20:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-11 18:04:25 +0100
commitff5f922004c7485faeb74f5d675832a1ed75b327 (patch)
treeaa98ab5e4fee2053c7b1801c1aa4348f4caa2709
parent66d77cf3e6a8f0f073ff8fddddca3c5edea7c4f4 (diff)
downloadpoky-ff5f922004c7485faeb74f5d675832a1ed75b327.tar.gz
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. (From OE-Core rev: 2a9a5b275f067585275e53931ae5f0548bfaac53) Signed-off-by: Raphael Schlarb <r.schlarb@instar.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox-inittab_1.37.0.bb2
1 files changed, 1 insertions, 1 deletions
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 5e6c44a2e3..8cc907726f 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() {
22 speed=$(echo $s | cut -d\; -f 1) 22 speed=$(echo $s | cut -d\; -f 1)
23 device=$(echo $s | cut -d\; -f 2) 23 device=$(echo $s | cut -d\; -f 2)
24 24
25 echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty $speed $device" >> ${D}${sysconfdir}/inittab 25 echo "$device::respawn:${sbindir}/ttyrun $device ${base_sbindir}/getty -L $speed $device" >> ${D}${sysconfdir}/inittab
26 done 26 done
27 27
28 if [ "${USE_VT}" = "1" ]; then 28 if [ "${USE_VT}" = "1" ]; then