From 5b89dd5b70482222dddc30d53be65be809efe040 Mon Sep 17 00:00:00 2001 From: MikeBeaton Date: Fri, 8 Oct 2021 10:23:19 +0100 Subject: [PATCH] OcBootManagementLib: Set IsExternal from FileSystem->External in custom entries; required for BootEntryProtocol. --- Library/OcBootManagementLib/BootEntryManagement.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/OcBootManagementLib/BootEntryManagement.c b/Library/OcBootManagementLib/BootEntryManagement.c index 1e5a50bf..d4af1e47 100644 --- a/Library/OcBootManagementLib/BootEntryManagement.c +++ b/Library/OcBootManagementLib/BootEntryManagement.c @@ -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) {