summaryrefslogtreecommitdiff
path: root/netboot.c
diff options
context:
space:
mode:
authorMate Kukri <mate.kukri@canonical.com>2024-05-24 11:41:04 +0100
committerPeter Jones <pjones@redhat.com>2025-02-11 10:43:37 -0500
commitc57af36e673b34a9b24309f76f105371316c45be (patch)
treeff93643a995255b71b4e749e50eb7fb38031ceda /netboot.c
parentfe2ad36cbe13f9f304502d6b803828117593e0a9 (diff)
downloadefi-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 'netboot.c')
0 files changed, 0 insertions, 0 deletions