]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: fetch2: npm: conditionally hide NPM_LOCKDOWN / NPM_SHRINKWRAP warnings
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 15 Nov 2016 20:11:03 +0000 (09:11 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 10:59:56 +0000 (10:59 +0000)
commit4d8ee55164303544c9cf9c9356448cbc79885815
tree5d8ad47d3ed23dbb3f481c7a4a4f17a98d904b78
parent3ef7cf5297804a22ab01a8eaaacfbab12fddb9d8
bitbake: fetch2: npm: conditionally hide NPM_LOCKDOWN / NPM_SHRINKWRAP warnings

If ud.ignore_checksums is set (which we currently use to suppress the
warnings for missing SRC_URI checksums when fetching files from
scripts), then if we're fetching an npm package we should similarly
suppress the warnings when NPM_LOCKDOWN and NPM_SHRINKWRAP aren't set.

At the same time, make any errors reading either of these files actual
errors since if the file is specified and could not be found, that
should be an error - not the exact same warning.

Fixes [YOCTO #10464].

(Bitbake rev: cefb8c93c8299e68352cf7ec5ad9ca50c0d499ed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/npm.py