]> git.ipfire.org Git - people/ms/u-boot.git/commit
efi_loader: Make exposed image loader path absolute
authorAlexander Graf <agraf@suse.de>
Wed, 20 Jul 2016 23:44:46 +0000 (01:44 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jul 2016 16:00:06 +0000 (12:00 -0400)
commit492716662fbdc08e254dda2c209b320e2bf6c837
tree7a69a329a4161101aae32cb7ebce1ed2cb315a1b
parente8fb4358c2ea3b5629f004f7d0d5624c860d7e70
efi_loader: Make exposed image loader path absolute

When loading an efi image, we pass it the location it was loaded from.

On file system backends, there are no relative paths, so we should always
pass in absolute ones. For network paths, we may be relative.

This fixes distro booting with grub2 for me when it fetches the grub2 config
file from the loader partition.

Reported-by: york sun <york.sun@nxp.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c