]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/Microvm: no secure boot
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 8 Sep 2021 09:01:04 +0000 (11:01 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 5 Oct 2021 10:55:39 +0000 (10:55 +0000)
Without SMM secure boot isn't actually secure, so drop it too.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
OvmfPkg/Microvm/MicrovmX64.dsc
OvmfPkg/Microvm/MicrovmX64.fdf

index b8260e032b846fd991f93be96f4f1739807a7155..aba74190d7cd5bcffea77b8cf408515206a89cc4 100644 (file)
 !endif\r
   RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
 \r
-!if $(SECURE_BOOT_ENABLE) == TRUE\r
-  PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
-  AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
-  SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
-  SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
-!else\r
   AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
-!endif\r
   VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
   VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
   VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
 \r
   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
     <LibraryClasses>\r
-!if $(SECURE_BOOT_ENABLE) == TRUE\r
-      NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
-!endif\r
 !if $(TPM_ENABLE) == TRUE\r
       NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
       NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
       gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
   }\r
 \r
-!if $(SECURE_BOOT_ENABLE) == TRUE\r
-  SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
-  OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
-!endif\r
-\r
   OvmfPkg/PlatformDxe/Platform.inf\r
   OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
   OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
index de34abd51b751c988618395888316263a4866087..ec2911ae538fb67f8f68585bc5cd6bdbe87e0213 100644 (file)
@@ -250,10 +250,6 @@ INF  OvmfPkg/MptScsiDxe/MptScsiDxe.inf
 INF  OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf\r
 !endif\r
 \r
-!if $(SECURE_BOOT_ENABLE) == TRUE\r
-  INF  SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
-!endif\r
-\r
 INF  MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
 INF  MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
 INF  MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r