mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
dump output of boot buffer when showing details plugin
This commit is contained in:
parent
227418f36b
commit
2103fb014f
1 changed files with 8 additions and 1 deletions
|
|
@ -83,9 +83,16 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
ply_window_t *window,
|
||||
ply_buffer_t *boot_buffer)
|
||||
{
|
||||
size_t size;
|
||||
|
||||
assert (plugin != NULL);
|
||||
|
||||
ply_trace ("show splash screen");
|
||||
size = ply_buffer_get_size (boot_buffer);
|
||||
|
||||
if (size > 0)
|
||||
write (STDOUT_FILENO,
|
||||
ply_buffer_get_bytes (boot_buffer),
|
||||
size);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue