diff options
author | Changqing Li <changqing.li@windriver.com> | 2025-04-28 15:11:44 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-05-14 08:33:40 -0700 |
commit | 478f9aceecf02373c9f30f5cccd2a118a714721d (patch) | |
tree | d9f686e55aa74c33c0f56a05f4f07c171947d887 /meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh | |
parent | 35a23e15968c9f7b8b8958fd813e2672773fc506 (diff) | |
download | poky-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.sh | 3 |
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 @@ | |||
1 | if [ -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" | ||
3 | fi | ||