cloudconnector: new variable to allow custom cloudconnector package definition

By default, our 'cloudconnector' package is installed.
This can be overriden by defining 'CLOUDCONNECTOR_PKG' in the 'local.conf'
with the custom package that includes this application.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
This commit is contained in:
Tatiana Leon 2023-05-04 13:38:01 +02:00
parent 59365b0ff7
commit 70b0a17b0e
2 changed files with 4 additions and 1 deletions

View File

@ -89,3 +89,6 @@ BOOT_SCRIPTS += "boot.scr:boot.scr altboot.scr:altboot.scr"
# This can be used to enable U-Boot update through swupdate
SWUPDATE_UBOOTIMG ?= "false"
# Cloud Connector package to install
CLOUDCONNECTOR_PKG ?= "cloudconnector"

View File

@ -37,7 +37,7 @@ RDEPENDS:${PN} = "\
base-files \
base-passwd \
connectcore-demo-example \
cloudconnector \
${CLOUDCONNECTOR_PKG} \
dualboot \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'firmwared', '',d)} \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \