diff options
| author | Mate Kukri <mate.kukri@canonical.com> | 2024-05-24 11:41:04 +0100 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-02-11 10:43:37 -0500 |
| commit | c57af36e673b34a9b24309f76f105371316c45be (patch) | |
| tree | ff93643a995255b71b4e749e50eb7fb38031ceda /include/netboot.h | |
| parent | fe2ad36cbe13f9f304502d6b803828117593e0a9 (diff) | |
| download | efi-boot-shim-c57af36e673b34a9b24309f76f105371316c45be.tar.gz efi-boot-shim-c57af36e673b34a9b24309f76f105371316c45be.zip | |
loader-proto: Respect optional DevicePath parameter to load_image()
load_image() takes an optional parameter, DevicePath, in addition to the
SourceBuffer. Currently in shim_load_image() we don't check to see if
it's provided in the case where there's no SourceBuffer, even though it
can't work without it.
This adds that test and errors in that case, as well as avoiding
duplicating it when it's not present.
Signed-off-by: Mate Kukri <mate.kukri@canonical.com>
Diffstat (limited to 'include/netboot.h')
0 files changed, 0 insertions, 0 deletions
