[edk2-devel] [PATCH 1/1] MdePkg/BaseRngLibDxe: Add DXE_RUNTIME_DRIVER class to RngLib

Andrei Warkentin awarkentin at vmware.com
Wed Nov 11 17:05:01 UTC 2020


Reviewed-by: Andrei Warkentin <awarkentin at vmware.com>
________________________________
From: devel at edk2.groups.io <devel at edk2.groups.io> on behalf of Pete Batard via groups.io <pete=akeo.ie at groups.io>
Sent: Wednesday, November 4, 2020 1:03 PM
To: devel at edk2.groups.io <devel at edk2.groups.io>
Cc: michael.d.kinney at intel.com <michael.d.kinney at intel.com>; gaoliming at byosoft.com.cn <gaoliming at byosoft.com.cn>; zhiguang.liu at intel.com <zhiguang.liu at intel.com>; samer.el-haj-mahmoud at arm.com <samer.el-haj-mahmoud at arm.com>
Subject: [edk2-devel] [PATCH 1/1] MdePkg/BaseRngLibDxe: Add DXE_RUNTIME_DRIVER class to RngLib

The Raspberry Pi platform with Secure Boot enabled currently fails to build
with error:

  Module type [DXE_RUNTIME_DRIVER] is not supported by library instance
  [/home/appveyor/projects/rpi4/edk2/MdePkg/Library/DxeRngLib/DxeRngLib.inf]

Add the missing class to fix this issue.

Signed-off-by: Pete Batard <pete at akeo.ie>
---
 MdePkg/Library/DxeRngLib/DxeRngLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Library/DxeRngLib/DxeRngLib.inf b/MdePkg/Library/DxeRngLib/DxeRngLib.inf
index 68554ad21146..9c11959f8aeb 100644
--- a/MdePkg/Library/DxeRngLib/DxeRngLib.inf
+++ b/MdePkg/Library/DxeRngLib/DxeRngLib.inf
@@ -14,7 +14,7 @@ [Defines]
   FILE_GUID       = FF9F84C5-A33E-44E3-9BB5-0D654B2D4149
   MODULE_TYPE     = DXE_DRIVER
   VERSION_STRING  = 1.0
-  LIBRARY_CLASS   = RngLib|DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER
+  LIBRARY_CLASS   = RngLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER

 [Packages]
   MdePkg/MdePkg.dec
--
2.21.0.windows.1








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67292): https://edk2.groups.io/g/devel/message/67292
Mute This Topic: https://groups.io/mt/78035765/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201111/a28a8814/attachment.htm>


More information about the edk2-devel-archive mailing list