OpenCoreUefi: Clarify in err msgs that OC is bootstrapping secure boot NVRAM values

Makes it easier for end users to realise that e.g. invalid NVRAM contents can cause failures here
This commit is contained in:
mikebeaton 2021-11-16 15:17:08 +00:00
parent d75390ebab
commit a79900c637

View File

@ -506,13 +506,13 @@ OcLoadAppleSecureBoot (
Status = OcAppleImg4BootstrapValues (RealSecureBootModel, Config->Misc.Security.ApECID);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 values - %r\n", Status));
DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap IMG4 NVRAM values - %r\n", Status));
return;
}
Status = OcAppleSecureBootBootstrapValues (RealSecureBootModel, Config->Misc.Security.ApECID);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap SB values - %r\n", Status));
DEBUG ((DEBUG_ERROR, "OC: Failed to bootstrap SB NVRAM values - %r\n", Status));
return;
}
}