mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 03:48:08 +02:00
details: Suppress kernel's own kmsg console output
Plymouth forwards /dev/console and /dev/kmsg to all consoles (and to the graphical splash). With the details plugin, we would do this without suppressing the kernel's own output first. This would lead to duplicate log entries
This commit is contained in:
parent
2446472f9a
commit
6d7b3c3342
1 changed files with 4 additions and 0 deletions
|
|
@ -308,6 +308,8 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
|
||||
ply_show_new_kernel_messages (false);
|
||||
|
||||
if (boot_buffer) {
|
||||
plugin->boot_buffer = boot_buffer;
|
||||
|
||||
|
|
@ -350,6 +352,8 @@ hide_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
detach_from_event_loop,
|
||||
plugin);
|
||||
detach_from_event_loop (plugin);
|
||||
|
||||
ply_show_new_kernel_messages (true);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue