mirror of
https://github.com/openwrt/video.git
synced 2026-10-13 18:48:05 +04:00
OpenWrt builds the kernel without CONFIG_VT, so BOOT_TTY never exists and plymouth falls back to the first serial device it finds, which is the system console. It opens that console, watches it for input, puts it in raw mode and locks every termios bit, so a shell sharing it loses its cursor keys, its interrupt character and a share of everything typed. Forcing details mode along the way also costs the splash its renderer. Carry a patch that makes --graphical-boot keep plymouth away from a console altogether and pass it from both entry points. The faked "splash" kernel argument and --ignore-serial-consoles go with it, both implied now, as does --attach-to-session, which redirected the console into plymouth's pty with TIOCCONS and stopped kernel messages reaching the serial port. Signed-off-by: Daniel Golle <daniel@makrotopia.org>