mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 13:20:03 +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:
committed by
Martin Jansa
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"
|
||||
|
||||
Reference in New Issue
Block a user