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-30 08:40:33 +0000 |
| commit | f59aa3752dbc5552469207894bea9c01bd68fb6e (patch) | |
| tree | 268d944280d4602a716fe274ca2b4864194c9254 /scripts/lib/devtool/menuconfig.py | |
| parent | c805f0f90a2d1b0de49978e6516a4e7f9b11aff4 (diff) | |
| download | poky-f59aa3752dbc5552469207894bea9c01bd68fb6e.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: 28ba566c25af72afe62ea3cb62b0bafeffc47de8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/menuconfig.py')
0 files changed, 0 insertions, 0 deletions
