julian-klode / sicherboot

Unmaintained systemd-boot integration with secure boot support; consider https://github.com/Foxboron/sbctl instead.
34 stars 5 forks source link

Support the "splash" Option #10

Open EmperorArthur opened 4 years ago

EmperorArthur commented 4 years ago

The current version of stub.c supports a "splash" section. Which seems to allow an image to be displayed.

It would be great if this code could inject that as well. Users don't want to see text, so a "splash" option for my users would be awesome.

EmperorArthur commented 4 years ago

Looking at Dracut, this is done via:

--add-section .splash="$uefi_splash_image" --change-section-vma .splash=0x40000

https://github.com/dracutdevs/dracut/blob/a5372b8ba85bc70c68771feab9504ebd5a336625/dracut.sh#L2039

So it shouldn't be too hard to add.