diff options
author | Jonathan Liu <net147@gmail.com> | 2017-10-12 18:25:44 +1100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-10-17 10:32:03 +0000 |
commit | af0d0f893914f84adb8f13e30ea5ac5dd625442c (patch) | |
tree | bb77cf1ce9112a36c45c901eae69fc308a76f051 /meta-oe | |
parent | 18bb0929e1832163f536bc0fd54d59ea7b66b32b (diff) | |
download | meta-openembedded-af0d0f893914f84adb8f13e30ea5ac5dd625442c.tar.gz |
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@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 5c580fb72..5bcbc0007 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() { | |||
79 | } | 79 | } |
80 | 80 | ||
81 | PACKAGES =+ "${PN}-npm" | 81 | PACKAGES =+ "${PN}-npm" |
82 | FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm" | 82 | FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx" |
83 | RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils" | 83 | RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils" |
84 | 84 | ||
85 | PACKAGES =+ "${PN}-systemtap" | 85 | PACKAGES =+ "${PN}-systemtap" |