]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Use current boot option as a fallback for obtaining the boot URI
authorMichael Brown <mcb30@ipxe.org>
Thu, 28 Aug 2025 14:35:00 +0000 (15:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 29 Aug 2025 11:34:17 +0000 (12:34 +0100)
commit969ce2c559a6841a949a1b73a3967b1889e0c999
tree72b26c6d8cdadd4d5e8137eedd4e17d0d52282a8
parentc10da8b53c9fc9cda21c28de3226f63cf6c79d8e
[efi] Use current boot option as a fallback for obtaining the boot URI

Some systems (observed with a Lenovo X1) fail to populate the loaded
image device path with a Uri() component when performing a UEFI HTTP
boot, instead creating a broken loaded image device path that
represents a DHCP+TFTP boot that has not actually taken place.

If no URI is found within the loaded image device path, then fall back
to looking for a URI within the current boot option.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efiprefix.c