1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-26 08:55:40 +03:00

storagetm: make the spinner stop by deactivating plymouth after we output our message

As suggested here:

https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/223#note_2171647
This commit is contained in:
Lennart Poettering 2024-05-06 18:41:52 +02:00
parent 3d320785c4
commit c6c73d561a

View File

@ -721,9 +721,13 @@ static int plymouth_send_text(const char *text) {
assert(text);
c = asprintf(&plymouth_message,
"r%c" /* reactivate */
"M\x02%c%s%c"
"A%c", /* pause spinner */
"A%c" /* pause spinner */
"D%c", /* deactivate */
'\x00',
(int) strlen(text) + 1, text, '\x00',
'\x00',
'\x00');
if (c < 0)
return log_oom();