intel-iot-devkit / meta-iot-cloud

OpenEmbedded layer to add support for multiple cloud IoT services including Microsoft Azure & Google Cloud Platform.
MIT License
69 stars 81 forks source link

Update node-red version #117

Closed amolina-chargevite closed 2 years ago

amolina-chargevite commented 2 years ago

Hi, I am using node-red in my yocto project image with the dunfell branch, but my problem is that the version of node-red installed with this branch is 1.0.2 and I need a more update version, for example the 2.2.2. Which files do I need to modify the version of node-red? I have tested with the json file but I am not familiar with json. Is there a command to download the last version of node-red? I have seen the master branch and in this branch the version is more recent, but this layer is not compatible with my others layers, I need the dunfell branch.

srware commented 2 years ago

Hi @amolina-chargevite ,

The master branch has a recipe for node-red 2.1.x but the master branch in it's entirety isn't compatible with dunfell due to the new override syntax being used (: instead of _).

You could try grabbing the latest node-red recipe from the master branch and integrate them into your dunfell build. There are only a couple of syntax changes which will be required in the recipe file for it to work and these will be quickly flagged by bitbake when you begin to build.

amolina-chargevite commented 2 years ago

Hi @srware, I was trying copy the folder node-red of master branch to the dunfell branch but don't compile. Could you tell me what the changes are? Thanks in advance.

srware commented 2 years ago

With latest dunfell the new override syntax is also supported so the only changes I needed to make was to add the following line to the node-red recipe:

INSANE_SKIP_${PN} += "staticdev"