From 2e0b9e9a86f6bd2ba13082e31d7c097b254f30a4 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Mon, 28 Apr 2025 13:53:05 +0800 Subject: buildtools-tarball: move setting of envvars to respective envfile * make git,curl,python3-requests align with openssl, move the setting of envvars into respective envfile * for environment.d-openssl.sh, also check if ca-certificates.crt exist before export envvars (From OE-Core rev: 5f4fd544d3df7365224599c9efdce4e545f51d5e) Signed-off-by: Changqing Li Signed-off-by: Steve Sakoman --- .../python/python3-requests/environment.d-python3-requests.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh (limited to 'meta/recipes-devtools/python/python3-requests') diff --git a/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh b/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh new file mode 100644 index 0000000000..f2eee203ca --- /dev/null +++ b/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh @@ -0,0 +1,3 @@ +if [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then + export REQUESTS_CA_BUNDLE="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" +fi -- cgit v1.2.3-54-g00ecf