mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-10 02:41:04 +00:00
python3-grpcio: update gRPC repo roots
See https://emudhra.we-have-a-problem.com/ Use a copy function instead of adding the patch two times becuase there are two copies of certificates in the sources. Signed-off-by: Peter Marko <peter.marko@siemens.com>
This commit is contained in:
1 parent
1a0a133351
commit
f16173e6a4
3 files changed
+16947
No files matched your search
@@ -13,6 +13,8 @@ DEPENDS += "c-ares openssl python3-protobuf re2 zlib"
|
||||
SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
|
||||
file://0001-Fix-OpenSSL-4.0-compatibility.patch \
|
||||
file://abseil-ppc-fixes.patch \
|
||||
file://0001-Update-repo-roots-to-chromium-roots-42094.patch \
|
||||
file://0001-Update-gRPC-repo-roots.-43699.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5"
|
||||
|
||||
@@ -32,6 +34,10 @@ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1"
|
||||
|
||||
do_configure:prepend() {
|
||||
cp ${S}/etc/roots.pem ${S}/src/python/grpcio/grpc/_cython/_credentials/roots.pem
|
||||
}
|
||||
|
||||
do_configure:append() {
|
||||
# Relax strict cython version pin so that the available cython satisfies the requirement.
|
||||
# The C files are pre-generated so cython is not actually used during compilation.
|
||||
|
||||
Reference in new issue
Block a user