Skip to content
Snippets Groups Projects
Unverified Commit e9252bb7 authored by Casey's avatar Casey :recycle: Committed by Pablo Correa Gomez
Browse files

kconfigcheck: require NULL_TTY support (MR 6087)


The null TTY driver provides a proper (dummy) TTY interface when
console=null is set on the kernel cmdline. This fixes certain
applications which don't correctly handle read() immediately returning
with 0 bytes (e.g. busybox syslogd).

Most normal EFI devices don't boot with console=null and as such there
are various foot-guns littered all over Linux userspace and even in our
own initramfs. However some android devices even enforce console=null,
so it's something we have to deal with.

NULL_TTY should reduce the chance of folks running into strange problems
because of this.

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 9948d6e3
No related branches found
No related tags found
1 merge request!6087device/*: NULL_TTY support, kconfig fixups
......@@ -73,6 +73,10 @@ SAMSUNG_TUI = false
TZDEV = false
["category:default"."<5.2.0"."armhf armv7 x86"]
LBDAF = true
["category:default".">=5.2.0"."all"]
# Provide a proper dummy null console to improve compatibility
# on devices that like to coerce console=null
NULL_TTY = true
["category:default".">=5.19.0"."all"]
FW_LOADER_COMPRESS_ZSTD = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment