bitbake-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [bitbake][PATCHv3] bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list
@ 2023-02-09 14:28 George Kelly
  0 siblings, 0 replies; only message in thread
From: George Kelly @ 2023-02-09 14:28 UTC (permalink / raw)
  To: bitbake-devel; +Cc: George Kelly

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.

Signed-off-by: George Kelly <george.kelly1097@gmail.com>
---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 5a7a6024..747356df 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -851,6 +851,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
                      'DBUS_SESSION_BUS_ADDRESS',
                      'P4CONFIG',
                      'SSL_CERT_FILE',
+                     'NODE_EXTRA_CA_CERTS',
                      'AWS_PROFILE',
                      'AWS_ACCESS_KEY_ID',
                      'AWS_SECRET_ACCESS_KEY',
-- 
2.37.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-09 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 14:28 [bitbake][PATCHv3] bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list George Kelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).