summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-04-28 15:11:44 +0800
committerSteve Sakoman <steve@sakoman.com>2025-05-14 08:33:40 -0700
commit478f9aceecf02373c9f30f5cccd2a118a714721d (patch)
treed9f686e55aa74c33c0f56a05f4f07c171947d887 /meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh
parent35a23e15968c9f7b8b8958fd813e2672773fc506 (diff)
downloadpoky-478f9aceecf02373c9f30f5cccd2a118a714721d.tar.gz
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: 5c915fcada5868bdbb8aa3e28c18a26cfc41914f) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh')
-rw-r--r--meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh3
1 files changed, 3 insertions, 0 deletions
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 @@
1if [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then
2 export REQUESTS_CA_BUNDLE="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt"
3fi