summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorGeorge Kelly <george.kelly1097@gmail.com>2023-02-07 17:10:22 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-09 10:00:31 +0000
commitaa6cd06a9fe7db56f13492ad13f034d6936268a3 (patch)
tree8e141c300deed4faa337ac354f2227db64bfb8a7 /bitbake/lib/bb/fetch2/__init__.py
parente911d154cedb53e3d8b306b52d0918882ddfaf1e (diff)
downloadpoky-aa6cd06a9fe7db56f13492ad13f034d6936268a3.tar.gz
bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list
If you are behind a corporate proxy, the npm fetcher uses the proxy IP address already passed in the list of exports. However, it will error if the proxy injects its own root CA certificate. Thus, the NODE_EXTRA_CA_CERTS environment variable must be passed so the user can include their company's root CA as a trusted CA inside node's certificate store. (Bitbake rev: 5daecc25a59ce5bf6c31f5085e6caa7cb543517e) Signed-off-by: George Kelly <george.kelly1097@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 5a7a6024d1..747356dfa1 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -851,6 +851,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
851 'DBUS_SESSION_BUS_ADDRESS', 851 'DBUS_SESSION_BUS_ADDRESS',
852 'P4CONFIG', 852 'P4CONFIG',
853 'SSL_CERT_FILE', 853 'SSL_CERT_FILE',
854 'NODE_EXTRA_CA_CERTS',
854 'AWS_PROFILE', 855 'AWS_PROFILE',
855 'AWS_ACCESS_KEY_ID', 856 'AWS_ACCESS_KEY_ID',
856 'AWS_SECRET_ACCESS_KEY', 857 'AWS_SECRET_ACCESS_KEY',