mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcBootManagementLib: Fix hiding Time Machine entries with HideAuxiliary
This commit is contained in:
parent
26d8862b9b
commit
30aad505f1
@ -379,6 +379,14 @@ AddBootEntryOnFileSystem (
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//
|
||||
// Do not add Time Machine when not requested.
|
||||
//
|
||||
if (BootContext->PickerContext->HideAuxiliary && EntryType == OC_BOOT_APPLE_TIME_MACHINE) {
|
||||
DEBUG ((DEBUG_INFO, "OCB: Discarding time machine entry due to auxiliary\n"));
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//
|
||||
// Skip OpenCore bootloaders on own entry.
|
||||
// We do not waste time doing this for other entries.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user