summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-08-23 15:28:03 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-08-31 11:50:27 +1200
commit368d457d7fdef46f7ff820041e9f3de8bf8f538e (patch)
tree056c5c7b5f39e0cd46e9930cef2e86e8904139b5
parent8bfdce20a06e094fe7ebfa86293ab4270a637697 (diff)
downloadopenembedded-core-contrib-368d457d7fdef46f7ff820041e9f3de8bf8f538e.tar.gz
openembedded-core-contrib-368d457d7fdef46f7ff820041e9f3de8bf8f538e.tar.bz2
openembedded-core-contrib-368d457d7fdef46f7ff820041e9f3de8bf8f538e.zip
recipetool: create: suppress npm shrinkwrap/lockdown warnings again
Since OE-Core revision 9a47a6690052ef943c0d4760630ee630fb012153 the mechanism we were using to suppress the warnings about NPM_LOCKDOWN and NPM_SHRINKWRAP not being set on the first fetch of the source is no longer available since we are using the normal fetch/unpack tasks to do the job. Use the newly added noverify parameter to suppress the warnings again. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index d8cfcbdab8..2b30385645 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -479,6 +479,8 @@ def create_recipe(args):
storeTagName = params['tag']
params['nobranch'] = '1'
del params['tag']
+ if scheme == 'npm':
+ params['noverify'] = '1'
fetchuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params))
tmpparent = tinfoil.config_data.getVar('BASE_WORKDIR')