* [meta-python][PATCH 0/2] Add native support for socsec dependencies
@ 2021-08-05 2:29 Andrew Jeffery
2021-08-05 2:29 ` [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support Andrew Jeffery
2021-08-05 2:29 ` [meta-python][PATCH 2/2] meta-oe: python3-ecdsa: " Andrew Jeffery
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Jeffery @ 2021-08-05 2:29 UTC (permalink / raw)
To: openembedded-devel
Hello,
This series is two patches adding native support for dependencies of ASPEED's
`socsec` package from OpenBMC's meta-aspeed layer:
https://github.com/openbmc/openbmc/blob/04fa7fa906a548beb1012f3583a194a6b9798244/meta-aspeed/recipes-aspeed/python/socsec_git.bb
socsec is a set of tools used to sign bootloaders and form a hardware root of
trust in ASPEED BMC SoCs. The socsec tools are integrated into the meta-aspeed
u-boot recipe to sign the bootloader at build-time:
https://github.com/openbmc/openbmc/blob/04fa7fa906a548beb1012f3583a194a6b9798244/meta-aspeed/recipes-bsp/u-boot/u-boot-aspeed-sdk_2019.04.bb#L6
https://github.com/openbmc/openbmc/blob/04fa7fa906a548beb1012f3583a194a6b9798244/meta-aspeed/classes/socsec-sign.bbclass
Please review!
Andrew
Andrew Jeffery (2):
meta-oe: python3-gmpy: Add native support
meta-oe: python3-ecdsa: Add native support
meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb | 4 +++-
meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
--
2.30.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support
2021-08-05 2:29 [meta-python][PATCH 0/2] Add native support for socsec dependencies Andrew Jeffery
@ 2021-08-05 2:29 ` Andrew Jeffery
2021-08-05 2:57 ` [oe] " Khem Raj
2021-08-05 2:29 ` [meta-python][PATCH 2/2] meta-oe: python3-ecdsa: " Andrew Jeffery
1 sibling, 1 reply; 5+ messages in thread
From: Andrew Jeffery @ 2021-08-05 2:29 UTC (permalink / raw)
To: openembedded-devel
python3-gmpy is a transitive dependency of meta-aspeed's socsec package,
via python3-ecdsa. socsec is a set of tools for signing bootloaders and
forming a hardware root of trust for ASPEED BMC SoCs.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
index c6edcbb3207a..976f57ab26a6 100644
--- a/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
+++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
@@ -10,4 +10,5 @@ PYPI_PACKAGE = "gmpy2"
PYPI_PACKAGE_EXT = "zip"
SRC_URI[sha256sum] = "dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f"
-inherit pypi setuptools3
+inherit pypi setuptools3 python3native
+BBCLASSEXTEND = "native nativesdk"
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-python][PATCH 2/2] meta-oe: python3-ecdsa: Add native support
2021-08-05 2:29 [meta-python][PATCH 0/2] Add native support for socsec dependencies Andrew Jeffery
2021-08-05 2:29 ` [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support Andrew Jeffery
@ 2021-08-05 2:29 ` Andrew Jeffery
1 sibling, 0 replies; 5+ messages in thread
From: Andrew Jeffery @ 2021-08-05 2:29 UTC (permalink / raw)
To: openembedded-devel
python3-ecdsa is a dependency of meta-aspeed's socsec package. socsec is
a set of tools for signing bootloaders and forming a hardware root
of trust for ASPEED BMC SoCs.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb
index a217ecd22416..177019ccc21c 100644
--- a/meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb
@@ -8,6 +8,8 @@ DEPENDS += "python3-pip python3-pbr"
PYPI_PACKAGE = "ecdsa"
SRC_URI[sha256sum] = "b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa"
-inherit pypi setuptools3
+inherit pypi setuptools3 python3native
RDEPENDS:${PN} += "python3-six python3-gmpy2 python3-pbr"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support
2021-08-05 2:29 ` [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support Andrew Jeffery
@ 2021-08-05 2:57 ` Khem Raj
2021-08-05 3:00 ` Andrew Jeffery
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2021-08-05 2:57 UTC (permalink / raw)
To: Andrew Jeffery, openembedded-devel
On 8/4/21 7:29 PM, Andrew Jeffery wrote:
> python3-gmpy is a transitive dependency of meta-aspeed's socsec package,
> via python3-ecdsa. socsec is a set of tools for signing bootloaders and
> forming a hardware root of trust for ASPEED BMC SoCs.
>
Thanks for your contributions Andrew, a small nit on subject line we
dont need layer name. Format is something like below
recipe: short summary
Detailed commit explaination
I have fixed it this time around, so no need to send v2.
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
> ---
> meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
> index c6edcbb3207a..976f57ab26a6 100644
> --- a/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
> +++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb
> @@ -10,4 +10,5 @@ PYPI_PACKAGE = "gmpy2"
> PYPI_PACKAGE_EXT = "zip"
> SRC_URI[sha256sum] = "dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f"
>
> -inherit pypi setuptools3
> +inherit pypi setuptools3 python3native
> +BBCLASSEXTEND = "native nativesdk"
>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support
2021-08-05 2:57 ` [oe] " Khem Raj
@ 2021-08-05 3:00 ` Andrew Jeffery
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Jeffery @ 2021-08-05 3:00 UTC (permalink / raw)
To: Khem Raj, openembedded-devel
On Thu, 5 Aug 2021, at 12:27, Khem Raj wrote:
>
>
> On 8/4/21 7:29 PM, Andrew Jeffery wrote:
> > python3-gmpy is a transitive dependency of meta-aspeed's socsec package,
> > via python3-ecdsa. socsec is a set of tools for signing bootloaders and
> > forming a hardware root of trust for ASPEED BMC SoCs.
> >
>
>
> Thanks for your contributions Andrew, a small nit on subject line we
> dont need layer name. Format is something like below
>
> recipe: short summary
>
> Detailed commit explaination
>
>
> I have fixed it this time around, so no need to send v2.
Ah, that was an oversight as I cherry-picked the commit from the
openbmc tree where I originally wrote it.
Thanks for fixing it up!
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-05 3:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 2:29 [meta-python][PATCH 0/2] Add native support for socsec dependencies Andrew Jeffery
2021-08-05 2:29 ` [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support Andrew Jeffery
2021-08-05 2:57 ` [oe] " Khem Raj
2021-08-05 3:00 ` Andrew Jeffery
2021-08-05 2:29 ` [meta-python][PATCH 2/2] meta-oe: python3-ecdsa: " Andrew Jeffery
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.