]> code.ossystems Code Review - openembedded-core.git/commit
classes/npm: use npm install to do installation
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 31 Oct 2016 04:02:23 +0000 (17:02 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:15 +0000 (23:35 +0000)
commit90cb980a1c49de99a0aec00c0cd5fc1e165490a7
treeadab52be11501787d29c6f6a4abc40a43d98c164
parentc4d3b1e9c37b920444e53d3231552da18d101882
classes/npm: use npm install to do installation

Using "npm install" instead of "cp -a" is the more correct thing to be
doing here, and ensures that symlinks for executable scripts are put
into ${prefix}/bin. (I'd prefer ${bindir}, but npm does not allow
specifying paths at that level - only a prefix.)

Fixes [YOCTO #10460].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/npm.bbclass