mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 03:19:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
66d77cf3e6
commit
ff5f922004
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user