mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
OvmfPkg/QemuKernelLoaderFsDxe: accept absolute paths
EFI shell looks for "\startup.nsh". Try "-fw_cfg name=etc/boot/startup.nsh,string='echo hello'" ;) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
1111e9fe70
commit
46ae4e4b95
@ -806,6 +806,11 @@ QemuKernelStubFileOpen (
|
||||
//
|
||||
// Locate the file.
|
||||
//
|
||||
if (FileName[0] == '\\') {
|
||||
// also accept absolute paths, i.e. '\kernel' for 'kernel'
|
||||
FileName++;
|
||||
}
|
||||
|
||||
Blob = FindKernelBlob (FileName);
|
||||
|
||||
if (Blob == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user