[oe] [meta-oe][PATCH] nodejs: Add npx to nodejs-npm package
Khem Raj
raj.khem at gmail.com
Fri Oct 13 03:50:04 UTC 2017
On Thu, Oct 12, 2017 at 07:25:44AM +0000, Jonathan Liu wrote:
> ${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>
> ---
> 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 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() {
> }
>
> 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"
looks ok.
> RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils"
>
> PACKAGES =+ "${PN}-systemtap"
> --
> 2.14.2
>
More information about the Openembedded-devel
mailing list