summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-08-31 11:54:14 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 23:30:02 +0100
commite4b09c6e91cb9dec702881c8ceb64db3f156eeca (patch)
tree8d4dcad9b7aae39e5ee6a5a9c1b9c6c3b5682b80 /scripts/lib/recipetool
parent4b202e07201655c65d65842829ddfb33e1edc5e4 (diff)
downloadpoky-e4b09c6e91cb9dec702881c8ceb64db3f156eeca.tar.gz
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. (From OE-Core rev: cb083b6f5f6e909b7c85548bcb1a92ca34d0c18a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool')
-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):
479 storeTagName = params['tag'] 479 storeTagName = params['tag']
480 params['nobranch'] = '1' 480 params['nobranch'] = '1'
481 del params['tag'] 481 del params['tag']
482 if scheme == 'npm':
483 params['noverify'] = '1'
482 fetchuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params)) 484 fetchuri = bb.fetch2.encodeurl((scheme, network, path, user, passwd, params))
483 485
484 tmpparent = tinfoil.config_data.getVar('BASE_WORKDIR') 486 tmpparent = tinfoil.config_data.getVar('BASE_WORKDIR')