]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: show splash screen earlier
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Sep 2021 17:33:01 +0000 (19:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2021 15:24:10 +0000 (17:24 +0200)
commit94b81afb08e35b44cb15479a0122e4f3c2c88235
tree50a8b195a4ed340c8d1a2e8551d3bf2b746c62ad
parent5a186322a17ab3b9730d89cf00b08a1820e7679a
stub: show splash screen earlier

let's move showing of the splash screen to the earliest place we know
the splash bmp address. After all a splash screen is all about showing
as early as we can. This matters as doing TPM stuff or packing up a
large cpio might take time.

While we are at it, move the conditionalization of the splash screen
into the function instead of doing it ahead of calling it. This should
encapsulate things more nicely.
src/boot/efi/splash.c
src/boot/efi/stub.c