mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
OvmfPkg/QemuKernelLoaderFsDxe: root directory name should be ""
UEFI spec says so, fix it. https://uefi.org/specs/UEFI/2.11/13_Protocols_Media_Access.html#efi-file-info Reported-by: Laszlo Ersek <laszlo.ersek@posteo.net> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
9f28d48d2f
commit
b873e8b8e3
@ -279,7 +279,7 @@ QemuKernelBlobTypeToFileInfo (
|
||||
// getting file info about the root directory
|
||||
//
|
||||
DEBUG ((DEBUG_INFO, "%a: file info: directory\n", __func__));
|
||||
Name = L"\\";
|
||||
Name = L"";
|
||||
FileSize = mKernelBlobCount;
|
||||
Attribute = EFI_FILE_READ_ONLY | EFI_FILE_DIRECTORY;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user