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>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
Peter Marko authored and Anuj Mittal committed 2026-10-26 12:46:49 +05:30
1 parent 197101abcc
commit 2db6aece32
3 files changed
+16947

No files matched your search

@@ -14,6 +14,8 @@ SRC_URI += "file://0001-Include-missing-cstdint-header.patch \
file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
file://CVE-2024-11407.patch \
file://CVE-2024-7246.patch \
file://0001-Update-repo-roots-to-chromium-roots-42094.patch \
file://0001-Update-gRPC-repo-roots.-43699.patch \
"
SRC_URI[sha256sum] = "c77618071d96b7a8be2c10701a98537823b9c65ba256c0b9067e0594cdbd954d"
@@ -39,6 +41,10 @@ BORING_SSL:aarch64 = "1"
BORING_SSL ?= "0"
export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
do_configure:prepend() {
cp ${S}/etc/roots.pem ${S}/src/python/grpcio/grpc/_cython/_credentials/roots.pem
}
do_compile:prepend() {
export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}"
}