diff options
| author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2022-05-19 12:05:54 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-28 12:55:26 +0100 |
| commit | d88cbe2ec1d6a58e9348be8e5b4221321d0672b1 (patch) | |
| tree | 4faf40c1c3c7033eddad3a53c5d7b6fa08df458f | |
| parent | 2c9c9641bf438165dea4139a239581e2995e5615 (diff) | |
| download | poky-d88cbe2ec1d6a58e9348be8e5b4221321d0672b1.tar.gz | |
npm: disable 'audit' + 'fund'
'audit' can cause extra network traffic; 'fund' is not needed.
(From OE-Core rev: 7a09a50bbe4c258ad6dc80889b0a9d2e5f554675)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/npm.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index c180804e0e..3ab67769e1 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass | |||
| @@ -53,6 +53,8 @@ def npm_global_configs(d): | |||
| 53 | # Ensure no network access is done | 53 | # Ensure no network access is done |
| 54 | configs.append(("offline", "true")) | 54 | configs.append(("offline", "true")) |
| 55 | configs.append(("proxy", "http://invalid")) | 55 | configs.append(("proxy", "http://invalid")) |
| 56 | configs.append(("funds", False)) | ||
| 57 | configs.append(("audit", False)) | ||
| 56 | # Configure the cache directory | 58 | # Configure the cache directory |
| 57 | configs.append(("cache", d.getVar("NPM_CACHE"))) | 59 | configs.append(("cache", d.getVar("NPM_CACHE"))) |
| 58 | return configs | 60 | return configs |
