mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 23:17:10 +00:00
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>
This commit is contained in:
parent
18bb0929e1
commit
af0d0f8939
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user