torizon / meta-toradex-torizon

Torizon OS OpenEmbedded Distro Layer
MIT License
5 stars 9 forks source link

auto-provisioning.sh: allow device ID and name to be overridden #77

Closed rborn-tx closed 3 weeks ago

rborn-tx commented 4 weeks ago

With this, the auto-provisioning script will source a user defined overrides file named "auto-provisioning-overrides.sh" that is expected to be found in /etc/sota or in /usr/lib/sota. The sourced file can define functions whose output will determine the device ID (get_device_id) and device name (get_device_name) to be used when registering the device to the platform.