]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: shrinkwrap and lockdown npm modules
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 9 Mar 2016 04:48:55 +0000 (17:48 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:59:57 +0000 (16:59 +0000)
commit277377f13b2b771915eb853e336ca24b84523ed1
tree5dcbc7a23da8d58c44df6ce4fccf747c48fd3ee8
parent334b9451111b7e3efbb43b3a4eecebcab8ec6f0e
recipetool: create: shrinkwrap and lockdown npm modules

"npm shrinkwrap" creates a file that ensures that the exact same
versions get fetched the next time the recipe is built. lockdown is
similar but also includes sha1sums of the modules thus validating they
haven't changed between builds. These ensure that the build is
reproducible.

Fixes [YOCTO #9225].

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