diff options
author | Ross Burton <ross.burton@arm.com> | 2023-01-26 16:49:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 21:50:31 +0000 |
commit | b1ec98f71f196bce3042b6432d7767062529f547 (patch) | |
tree | d672caa0fcd15949d5678d997d7752034ab0444b /meta/recipes-devtools/cmake | |
parent | 557aab215884d10839fa24f797890c99f38e97b2 (diff) | |
download | poky-b1ec98f71f196bce3042b6432d7767062529f547.tar.gz |
bitbake: bb/utils: include SSL certificate paths in export_proxies
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).
Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.
In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.
Also remove the return value as nothing ever checked it.
[ YOCTO #15000 ]
(Bitbake rev: c19035e8e71c419c5688a86bfc9c946c96f638e8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake')
0 files changed, 0 insertions, 0 deletions