]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/npm: use npm install to do installation paule/npm-install-fix
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 25 Oct 2016 07:14:50 +0000 (20:14 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 31 Oct 2016 04:01:44 +0000 (17:01 +1300)
commita8f4016cce5e83996d59149104d7b8c0ddbec798
treea801e9ad479c7133dc20debddc82953701434f32
parentb18fa5f2f2f46afc6fdc58f4d29679dea9c36c43
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>
meta/classes/npm.bbclass