mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
OvmfPkg/LoongArchVirt: Don't add Shell driver if secure boot is enabled
For security reason, the UEFI Shell should not be available when Secure Boot is enabled, as discussed in https://github.com/tianocore/edk2/issues/10471. This patch removes the direct inclusion of the Shell driver and switches to using the common ShellDxe.fdf.inc include file, as done for other architectures. This makes the Shell driver conditionally included based on the Secure Boot configuration, so that it will be excluded when Secure Boot is enabled. Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
This commit is contained in:
parent
2970e5699b
commit
0e3e19f77e
1 changed files with 1 additions and 4 deletions
|
|
@ -207,10 +207,7 @@ INF FatPkg/EnhancedFatDxe/Fat.inf
|
|||
INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
||||
INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
|
||||
|
||||
#
|
||||
#Boot OS
|
||||
#
|
||||
INF ShellPkg/Application/Shell/Shell.inf
|
||||
!include OvmfPkg/Include/Fdf/ShellDxe.fdf.inc
|
||||
|
||||
INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
|
||||
INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue