From 2a1eb07755871aaf1e3f35547b7315237592ea27 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Tue, 8 Apr 2025 17:38:21 +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: 9d8ebfcd55ad274e79cb81f162397c8f39f4287b) Signed-off-by: Changqing Li Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../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/environment.d-python3-requests.sh') 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