[oe-commits] [meta-openembedded] 01/04: nodejs: Add npx to nodejs-npm package

git at git.openembedded.org git at git.openembedded.org
Mon Oct 16 10:31:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit b07932400814bdd2dca0572ed03bb09911dc437c
Author: Jonathan Liu <net147 at gmail.com>
AuthorDate: Thu Oct 12 18:25:44 2017 +1100

    nodejs: Add npx to nodejs-npm package
    
    ${bindir}/npx is a symbolic link to npm-cli.js in the npm module.
    This avoids the nodejs package depending on nodejs-npm.
    
    Signed-off-by: Jonathan Liu <net147 at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
index 5c580fb..5bcbc00 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
@@ -79,7 +79,7 @@ do_install_append_class-target() {
 }
 
 PACKAGES =+ "${PN}-npm"
-FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm"
+FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx"
 RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils"
 
 PACKAGES =+ "${PN}-systemtap"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list