Skip to contentSkip to conversation

] 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.

PATCH In review George Kelly 2 participants 2 messages Feb 6, 2023 – Feb 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ] 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.

---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/fetch2/__init__.py +1 -0
index 5a7a6024..747356df 100644
@@ -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',
Signature · 1 line
2.37.2
#1 lore raw

Hello George,

thank you for your patch.

Quoted 1 line · On Mon, 6 Feb 2023 14:11:42 -0500 "George Kelly" <[email protected]>…

I'm not qualified to review the content of your changes, but definitely your patch needs to have a better formatting. Don't put a long description in the first line of the got commit message (which also ends up in the e-mail subject).

The "[[bitbake][PATCH]]" also looks weird.

I recommend you to read the guidelines at
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
in order to prepare a good commit message and to send your patch in a way that makes it more easily reviewed, applied and tested.

Best regards,

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com