* 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.olive...@konsulko.com>
---
 conf/layer.conf | 6 ++++++
 1 file changed, 6 insertions(+)

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}"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62105): https://lists.yoctoproject.org/g/yocto/message/62105
Mute This Topic: https://lists.yoctoproject.org/mt/103599875/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to