UefiPayloadPkg/SecureBootEnrollDefaultKeys: Make SecureBoot configurable
Signed-off-by: Christian Walter <christian.walter@9elements.com>
This commit is contained in:
committed by
Tim Crawford
parent
db04386fd9
commit
802391f1fe
@@ -460,6 +460,12 @@ InstallSecureBootHook (
|
||||
DEBUG ((EFI_D_ERROR, "SecureBootSetup: already in User Mode\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (Settings.SecureBootEnable != SECURE_BOOT_MODE_ENABLE) {
|
||||
DEBUG ((EFI_D_ERROR, "SecureBootSetup: SecureBootEnable is disabled.\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
PrintSettings (&Settings);
|
||||
|
||||
if (Settings.CustomMode != CUSTOM_SECURE_BOOT_MODE) {
|
||||
|
Reference in New Issue
Block a user