]> git.ipfire.org Git - thirdparty/plymouth.git/commit
device-manager: Support kernels with CONFIG_VT=n
authorn3rdopolis <bluescreen_avenger@verizon.net>
Tue, 18 Oct 2022 17:06:28 +0000 (13:06 -0400)
committerRay Strode <rstrode@redhat.com>
Sun, 27 Nov 2022 02:04:19 +0000 (21:04 -0500)
commit8b1669acb200c487f9205ed93ffe3da744946d97
tree20e64b4e91904dda64bcd2eceac4d424d3ef3d07
parent2165fe4f3b50cd9b452023e857e7bf277ca82001
device-manager: Support kernels with CONFIG_VT=n

At the moment, plymouth requires VT support be enabled in the kernel
to show graphical splashes.

This is because:

1. it relies on the tty to show details
2. when VT support is disabled the kernel will use ttyS0 as the default
console which makes plymouth disable graphical splashes since it assumes
the machine is a server with a serial console.

This commit addresses the first problem by disabling the
escape-to-toggle-details feature and addresses the second problem by
introducing a new kernel parameter plymouth.graphical that is like
the "splash" option and "plymouth.ignore-serial-consoles" option
combined.
src/libply-splash-core/ply-device-manager.c
src/main.c