Skip to content

Commit

Permalink
iot2050-image-example: Fix Node-RED inclusion control
Browse files Browse the repository at this point in the history
In kas/opt/no-node-red.yml, this was already correctly spelled, but the
image recipe got it wrong, effectively preventing the disabling.

Reported-by: Diogo Ivo <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka committed Oct 5, 2023
1 parent 80cfd17 commit 78662ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-core/images/iot2050-image-example.bb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ IMAGE_INSTALL += " \
tee-supplicant \
"

IOT2050_NOD_RED_SUPPORT ?= "1"
IOT2050_NODE_RED_SUPPORT ?= "1"

IMAGE_INSTALL += "${@ ' \
node-red \
node-red-gpio \
node-red-preinstalled-nodes \
' if d.getVar('IOT2050_NOD_RED_SUPPORT') == '1' else ''}"
' if d.getVar('IOT2050_NODE_RED_SUPPORT') == '1' else ''}"

0 comments on commit 78662ef

Please sign in to comment.