Add native support for socsec dependencies
cover Add native support for socsec dependencies
Hello,
This series is two patches adding native support for dependencies of ASPEED's socsec package from OpenBMC's meta-aspeed layer:
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:
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(-)
Signature · 1 line
2.30.2
PATCH 1/2 meta-oe: python3-gmpy: Add native support
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.
--- meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb +2 -1
@@ -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"
Signature · 1 line
2.30.2
Re: [oe] [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support
Quoted 4 lines · Andrew Jeffery
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.
Quoted 21 lines
Signed-off-by Andrew Jeffery <[email protected]>--- meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb +2
-1@@ -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"
Re: [oe] [meta-python][PATCH 1/2] meta-oe: python3-gmpy: Add native support
Quoted 12 lines · Khem Raj
Quoted 4 lines · Andrew Jeffery
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
Quoted 6 lines
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
PATCH 2/2 meta-oe: python3-ecdsa: Add native support
In reply to Andrew Jefferypython3-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.
--- meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-ecdsa_0.17.0.bb +3 -1
@@ -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"
Signature · 1 line
2.30.2