public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] npm: npm.bbclass now adds nodejs to RDEPENDS
@ 2016-08-10 22:15 Henry Bruce
  2016-08-10 22:53 ` Christopher Larson
  2016-08-10 23:26 ` [PATCH v2] " Henry Bruce
  0 siblings, 2 replies; 3+ messages in thread
From: Henry Bruce @ 2016-08-10 22:15 UTC (permalink / raw)
  To: openembedded-core

We expect that any package that uses the npm bbclass
will have a runtime dependency on node.js

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
---
 meta/classes/npm.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
index 95be751..541fd3b 100644
--- a/meta/classes/npm.bbclass
+++ b/meta/classes/npm.bbclass
@@ -1,4 +1,5 @@
 DEPENDS_prepend = "nodejs-native "
+RDEPENDS_${PN}_prepend += "nodejs "
 S = "${WORKDIR}/npmpkg"
 
 NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"
-- 
2.4.11



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-10 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 22:15 [PATCH] npm: npm.bbclass now adds nodejs to RDEPENDS Henry Bruce
2016-08-10 22:53 ` Christopher Larson
2016-08-10 23:26 ` [PATCH v2] " Henry Bruce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox