mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2c9c9641bf
commit
d88cbe2ec1
@@ -53,6 +53,8 @@ def npm_global_configs(d):
|
||||
# Ensure no network access is done
|
||||
configs.append(("offline", "true"))
|
||||
configs.append(("proxy", "http://invalid"))
|
||||
configs.append(("funds", False))
|
||||
configs.append(("audit", False))
|
||||
# Configure the cache directory
|
||||
configs.append(("cache", d.getVar("NPM_CACHE")))
|
||||
return configs
|
||||
|
||||
Reference in New Issue
Block a user