[oe-commits] [openembedded-core] 11/19: recipetool: create: suppress npm shrinkwrap/lockdown warnings again

git at git.openembedded.org git at git.openembedded.org
Thu Aug 31 16:55:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b98b4d25268ec54736c79bbe87bd153cd20e694c
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Thu Aug 31 11:54:14 2017 +1200

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/recipetool/create.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index d8cfcbd..2b30385 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')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list