Skip to content

lmp-device-register: Adding support for new tags and docker-app flags #57

@doanac

Description

@doanac

The newest version of lmp-device-register includes optional support for --tags and --docker-apps. I'm not sure the best way to include this.

Maybe by changing:

${@oe.utils.conditional('SOTA_CLIENT', 'aktualizr-lite', '-DDEVICE_API=https://api.foundries.io/ota/devices/', '', d)} \

to something like

EXTRA_OECMAKE += "\
    ${@oe.utils.conditional('SOTA_CLIENT', 'aktualizr-lite', '-DDEVICE_API=https://api.foundries.io/ota/devices/ -DAKLITE_TAGS=1', '', d)} \
"

We also need a -DDOCKER_APPS=1. I guess we could throw that in the same line also. But its technically tied to whether or not this is enabled:

PACKAGECONFIG += "dockerapp"

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions