OcBootManagementLib: Set IsExternal from FileSystem->External in custom entries; required for BootEntryProtocol.

This commit is contained in:
MikeBeaton 2021-10-08 10:23:19 +01:00
parent c5eb6a3477
commit 5b89dd5b70

View File

@ -593,6 +593,8 @@ InternalAddBootEntryFromCustomEntry (
return EFI_OUT_OF_RESOURCES;
}
BootEntry->IsExternal = FileSystem->External;
if (CustomEntry->Id != NULL) {
BootEntry->Id = AsciiStrCopyToUnicode (CustomEntry->Id, 0);
if (BootEntry->Id == NULL) {