]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2/npm: handle top-level shrinkwrap file
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 5 Sep 2016 22:57:31 +0000 (10:57 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Sep 2016 09:35:04 +0000 (10:35 +0100)
commitf7de3f8b5f628dee043fe783148812914ab20813
tree9e7d7d3db05cbf193c012258f18c663e209666d9
parente6a94d2091ec5d42f25102334a8492a731b8dec3
fetch2/npm: handle top-level shrinkwrap file

Allow using a top-level shrinkwrap file with one or more npm://
dependencies, i.e. if the module isn't found at the top level then look
one level down.

Part of the fix for [YOCTO #9537].

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