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:
Adrian Vovk 2025-05-09 15:17:48 -04:00
parent 2446472f9a
commit 6d7b3c3342
No known key found for this signature in database
GPG key ID: 90A7B546533E15FB

View file

@ -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