]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Do not attempt to download autoexec.ipxe without a valid base URI
authorMichael Brown <mcb30@ipxe.org>
Mon, 15 Apr 2024 13:28:38 +0000 (14:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 15 Apr 2024 13:28:38 +0000 (14:28 +0100)
commit27ecc36c0bef804d12dbf8c29684c8e8159c8e47
tree99c074d533ab2d7531258c5b7b488379586fcc19
parent59f27d69358efc919b50760f3d6dac0b637b5488
[efi] Do not attempt to download autoexec.ipxe without a valid base URI

If we do not have a current working URI (after applying the EFI device
path settings and any cached DHCP settings), then an attempt to
download autoexec.ipxe will fail since there is no base URI from which
to resolve the full autoexec.ipxe URI.

Avoid this potentially confusing error message by attempting the
download only if we have successfully obtained a current working URI.

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