Skip to content
Snippets Groups Projects
Commit c07ad7c0 authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

efi_loader: Pass file path to payload


The payload gets information on where it got loaded from. This includes
the device as well as file path.

So far we've treated both as the same thing and always gave it the device
name. However, in some situations grub2 actually wants to find its loading
path to find its configuration file.

So let's split the two semantically separte bits into separate structs and
pass the loaded file name into our payload when we load it using "load".

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 8c3df0bf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment