]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add: delete externalsrc files on npm recipe do_install
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 21 Mar 2016 05:14:04 +0000 (18:14 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Mar 2016 14:24:25 +0000 (14:24 +0000)
commit766845e06db9d7d595e836ea1364c16fa132a413
tree497b4e25e8cc68e88d48d9b5b444b8f006b69b61
parentb2677a4448dbc42e523c731b953b44006749252c
devtool: add: delete externalsrc files on npm recipe do_install

The npm class just installs whatever is in ${S}; if you're using
externalsrc in conjunction with it the symlinks (oe-workdir and oe-logs
by default) plus singletask.lock will end up in the final package, which
isn't really right. Introduce a variable so we know the path the files
will be installed into within npm.bbclass, and append to do_install
within the workspace bbappend to delete the files.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/npm.bbclass
scripts/lib/devtool/standard.py