sd-boot: also look for boot loader entries in the XBOOTLDR partition
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Feb 2019 12:04:41 +0000 (13:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 11:41:32 +0000 (12:41 +0100)
commitfa2a3bbdd8bfcc3402c2ad9e941eb3911971e09a
treeb6e83b75957990a2051dd8f4f75c06014b1f545f
parent17ad0f0f4b1cbe3ab9a47b61fec1cc9b0c05fb94
sd-boot: also look for boot loader entries in the XBOOTLDR partition

The specification always said so, let's actually implement this.

Unfortunately UEFI's own APIs don't allow us to search for partition
type GUID, hence we have to implement a minimal GPT parser ourselves.
src/boot/efi/boot.c
src/boot/efi/crc32.c [new file with mode: 0644]
src/boot/efi/crc32.h [new file with mode: 0644]
src/boot/efi/meson.build