npm: npm.bbclass now adds nodejs to RDEPENDS
PATCH 1/1 npm: npm.bbclass now adds nodejs to RDEPENDS
We expect that any package that uses the npm bbclass will have a runtime dependency on node.js
Signed-off-by Henry Bruce <[email protected]>
--- meta/classes/npm.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/npm.bbclass +1 -0
@@ -1,4 +1,5 @@ DEPENDS_prepend = "nodejs-native " +RDEPENDS_${PN}_prepend += "nodejs " S = "${WORKDIR}/npmpkg" NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"
Signature · 1 line
2.4.11
Quoted 13 lines · Henry Bruce
We expect that any package that uses the npm bbclass will have a runtime dependency on node.js
Signed-off-by Henry Bruce <[email protected]>--- meta/classes/npm.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes/npm.bbclass +0
-0
meta/classes/npm.bbclass line 3
Quoted 3 lines
meta/classes/npm.bbclass +1
-0@@ -1,4 +1,5 @@ DEPENDS_prepend = "nodejs-native " +RDEPENDS_${PN}_prepend += "nodejs "
The += here is pointless. It adds a leading space, which does nothing, and isn't needed for a prepend anyway. Just use =, the same as is used for DEPENDS.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
PATCH v2 1/1 npm: npm.bbclass now adds nodejs to RDEPENDS
In reply to Henry BruceWe expect that any package that uses the npm bbclass will have a runtime dependency on node.js
Signed-off-by Henry Bruce <[email protected]>
--- meta/classes/npm.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/npm.bbclass +1 -0
@@ -1,4 +1,5 @@ DEPENDS_prepend = "nodejs-native " +RDEPENDS_${PN}_prepend = "nodejs " S = "${WORKDIR}/npmpkg" NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"
Signature · 1 line
2.4.11