]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Set current working URI from our own device path URI, if present
authorMichael Brown <mcb30@ipxe.org>
Tue, 19 Mar 2024 15:13:59 +0000 (15:13 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 19 Mar 2024 15:13:59 +0000 (15:13 +0000)
commit390bce9516ce3a4adf599762b6c965813332595e
tree33d9193fe547c3e44116b9cf5c7ee6c38c1d3fd6
parent1a84facf12b07a5e5375822015b56cf320821055
[efi] Set current working URI from our own device path URI, if present

When booted via HTTP, our loaded image's device path will include the
URI from which we were downloaded.  Set this as the current working
URI, so that an embedded script may perform subsequent downloads
relative to the iPXE binary, or construct explicit relative paths via
the ${cwduri} setting.

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