public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
@ 2020-10-15 20:42 Michael Kubacki
  2020-10-16  0:56 ` 回复: [edk2-devel] " gaoliming
  2020-10-16 15:12 ` Michael D Kinney
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Kubacki @ 2020-10-15 20:42 UTC (permalink / raw)
  To: devel; +Cc: Guomin Jiang, Wei6 Xu, Liming Gao, Michael D Kinney,
	Matthew Carlson

From: Michael Kubacki <michael.kubacki@microsoft.com>

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3010

Commit b5701a4 in CryptoPkg introduced a dependency on RngLib.

The FmpDevicePkg build currently fails since it does not specify
a RngLib instance and OpensslLib links against RngLib.

Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Matthew Carlson <matthewfcarlson@gmail.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
---
 FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc
index bdb73f28288f..cfeadd833038 100644
--- a/FmpDevicePkg/FmpDevicePkg.dsc
+++ b/FmpDevicePkg/FmpDevicePkg.dsc
@@ -6,7 +6,7 @@
 # Capsules.  The behavior of the Firmware Management Protocol instance is
 # customized using libraries and PCDs.
 #
-# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
+# Copyright (c) Microsoft Corporation.<BR>
 # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
 #
@@ -57,6 +57,7 @@ [LibraryClasses]
   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
+  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
 !endif
   FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
-- 
2.28.0.windows.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* 回复: [edk2-devel] [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
  2020-10-15 20:42 [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC Michael Kubacki
@ 2020-10-16  0:56 ` gaoliming
  2020-10-16 15:12 ` Michael D Kinney
  1 sibling, 0 replies; 4+ messages in thread
From: gaoliming @ 2020-10-16  0:56 UTC (permalink / raw)
  To: devel, michael.kubacki
  Cc: 'Guomin Jiang', 'Wei6 Xu',
	'Michael D Kinney', 'Matthew Carlson'

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: bounce+27952+66286+4905953+8761045@groups.io
> <bounce+27952+66286+4905953+8761045@groups.io> 代表 Michael
> Kubacki
> 发送时间: 2020年10月16日 4:43
> 收件人: devel@edk2.groups.io
> 抄送: Guomin Jiang <guomin.jiang@intel.com>; Wei6 Xu
> <wei6.xu@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Michael D
> Kinney <michael.d.kinney@intel.com>; Matthew Carlson
> <matthewfcarlson@gmail.com>
> 主题: [edk2-devel] [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to
> DSC
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3010
> 
> Commit b5701a4 in CryptoPkg introduced a dependency on RngLib.
> 
> The FmpDevicePkg build currently fails since it does not specify
> a RngLib instance and OpensslLib links against RngLib.
> 
> Cc: Guomin Jiang <guomin.jiang@intel.com>
> Cc: Wei6 Xu <wei6.xu@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Matthew Carlson <matthewfcarlson@gmail.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> ---
>  FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/FmpDevicePkg/FmpDevicePkg.dsc
> b/FmpDevicePkg/FmpDevicePkg.dsc
> index bdb73f28288f..cfeadd833038 100644
> --- a/FmpDevicePkg/FmpDevicePkg.dsc
> +++ b/FmpDevicePkg/FmpDevicePkg.dsc
> @@ -6,7 +6,7 @@
>  # Capsules.  The behavior of the Firmware Management Protocol instance
> is
>  # customized using libraries and PCDs.
>  #
> -# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
> +# Copyright (c) Microsoft Corporation.<BR>
>  # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
>  # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All
rights
> reserved.<BR>
>  #
> @@ -57,6 +57,7 @@ [LibraryClasses]
>    IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
>    OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
>    BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
> +  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
>  !endif
> 
> FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpA
> uthenticationLibPkcs7.inf
> 
> CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/
> CapsuleUpdatePolicyLibNull.inf
> --
> 2.28.0.windows.1
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
  2020-10-15 20:42 [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC Michael Kubacki
  2020-10-16  0:56 ` 回复: [edk2-devel] " gaoliming
@ 2020-10-16 15:12 ` Michael D Kinney
  2020-10-19  1:49   ` 回复: " gaoliming
  1 sibling, 1 reply; 4+ messages in thread
From: Michael D Kinney @ 2020-10-16 15:12 UTC (permalink / raw)
  To: michael.kubacki@outlook.com, devel@edk2.groups.io,
	Kinney, Michael D
  Cc: Jiang, Guomin, Xu, Wei6, Liming Gao, Matthew Carlson

Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>

> -----Original Message-----
> From: michael.kubacki@outlook.com <michael.kubacki@outlook.com>
> Sent: Thursday, October 15, 2020 1:43 PM
> To: devel@edk2.groups.io
> Cc: Jiang, Guomin <guomin.jiang@intel.com>; Xu, Wei6 <wei6.xu@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Matthew Carlson <matthewfcarlson@gmail.com>
> Subject: [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3010
> 
> Commit b5701a4 in CryptoPkg introduced a dependency on RngLib.
> 
> The FmpDevicePkg build currently fails since it does not specify
> a RngLib instance and OpensslLib links against RngLib.
> 
> Cc: Guomin Jiang <guomin.jiang@intel.com>
> Cc: Wei6 Xu <wei6.xu@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Matthew Carlson <matthewfcarlson@gmail.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> ---
>  FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc
> index bdb73f28288f..cfeadd833038 100644
> --- a/FmpDevicePkg/FmpDevicePkg.dsc
> +++ b/FmpDevicePkg/FmpDevicePkg.dsc
> @@ -6,7 +6,7 @@
>  # Capsules.  The behavior of the Firmware Management Protocol instance is
>  # customized using libraries and PCDs.
>  #
> -# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
> +# Copyright (c) Microsoft Corporation.<BR>
>  # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
>  # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
>  #
> @@ -57,6 +57,7 @@ [LibraryClasses]
>    IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
>    OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
>    BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
> +  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
>  !endif
>    FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
>    CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
> --
> 2.28.0.windows.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* 回复: [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
  2020-10-16 15:12 ` Michael D Kinney
@ 2020-10-19  1:49   ` gaoliming
  0 siblings, 0 replies; 4+ messages in thread
From: gaoliming @ 2020-10-19  1:49 UTC (permalink / raw)
  To: 'Kinney, Michael D', michael.kubacki, devel
  Cc: 'Jiang, Guomin', 'Xu, Wei6',
	'Matthew Carlson'

Pull request for this patch https://github.com/tianocore/edk2/pull/1028

Thanks
Liming
> -----邮件原件-----
> 发件人: Kinney, Michael D <michael.d.kinney@intel.com>
> 发送时间: 2020年10月16日 23:12
> 收件人: michael.kubacki@outlook.com; devel@edk2.groups.io; Kinney,
> Michael D <michael.d.kinney@intel.com>
> 抄送: Jiang, Guomin <guomin.jiang@intel.com>; Xu, Wei6
> <wei6.xu@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Matthew
> Carlson <matthewfcarlson@gmail.com>
> 主题: RE: [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
> 
> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> 
> > -----Original Message-----
> > From: michael.kubacki@outlook.com <michael.kubacki@outlook.com>
> > Sent: Thursday, October 15, 2020 1:43 PM
> > To: devel@edk2.groups.io
> > Cc: Jiang, Guomin <guomin.jiang@intel.com>; Xu, Wei6
> <wei6.xu@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Kinney,
> Michael D
> > <michael.d.kinney@intel.com>; Matthew Carlson
> <matthewfcarlson@gmail.com>
> > Subject: [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC
> >
> > From: Michael Kubacki <michael.kubacki@microsoft.com>
> >
> > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3010
> >
> > Commit b5701a4 in CryptoPkg introduced a dependency on RngLib.
> >
> > The FmpDevicePkg build currently fails since it does not specify
> > a RngLib instance and OpensslLib links against RngLib.
> >
> > Cc: Guomin Jiang <guomin.jiang@intel.com>
> > Cc: Wei6 Xu <wei6.xu@intel.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > Cc: Matthew Carlson <matthewfcarlson@gmail.com>
> > Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> > ---
> >  FmpDevicePkg/FmpDevicePkg.dsc | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/FmpDevicePkg/FmpDevicePkg.dsc
> b/FmpDevicePkg/FmpDevicePkg.dsc
> > index bdb73f28288f..cfeadd833038 100644
> > --- a/FmpDevicePkg/FmpDevicePkg.dsc
> > +++ b/FmpDevicePkg/FmpDevicePkg.dsc
> > @@ -6,7 +6,7 @@
> >  # Capsules.  The behavior of the Firmware Management Protocol
> instance is
> >  # customized using libraries and PCDs.
> >  #
> > -# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
> > +# Copyright (c) Microsoft Corporation.<BR>
> >  # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
> >  # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All
> rights reserved.<BR>
> >  #
> > @@ -57,6 +57,7 @@ [LibraryClasses]
> >    IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
> >    OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
> >    BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
> > +  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
> >  !endif
> >
> FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpA
> uthenticationLibPkcs7.inf
> >
> CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/
> CapsuleUpdatePolicyLibNull.inf
> > --
> > 2.28.0.windows.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-19  1:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15 20:42 [PATCH v1 1/1] FmpDevicePkg: Add RngLib instance to DSC Michael Kubacki
2020-10-16  0:56 ` 回复: [edk2-devel] " gaoliming
2020-10-16 15:12 ` Michael D Kinney
2020-10-19  1:49   ` 回复: " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox