diff mbox series

[RFC,v2,3/3] add layer configuration for default node

Message ID 58100b7c02d73fa442e5c650d78e8f7a5acf8aca.1704728801.git.antonio.oliveira@konsulko.com
State New
Headers show
Series lts mixin: kirkstone/nodejs proposal | expand

Commit Message

António Oliveira Jan. 8, 2024, 3:58 p.m. UTC
* declared dependency on meta-openembedded to meet depends of nodejs
  when built with default settings.
* added selector for default version of nodejs.

Signed-off-by: António Oliveira <antonio.oliveira@konsulko.com>
---
 conf/layer.conf | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index 19a19b2..7e198c8 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -12,4 +12,10 @@  LAYERSERIES_COMPAT_lts-nodejs-mixin = "kirkstone"
 
 LAYERDEPENDS_lts-nodejs-mixin = " \
     core \
+    openembedded-layer \
 "
+
+NODE_VERSION ?= "18%"
+
+PREFERRED_VERSION_nodejs ?= "${NODE_VERSION}"
+PREVERRED_VERSION_nodejs-oe-cache-native ?= "${NODE_VERSION}"