Hello,
I’m working on offline updates process for our Verdin imx8m-plus boards with slightly modified Torizon OS image with some bundled docker containers.
I define /etc/sota/conf.d/99-offline-updates.toml file with offline updates enabled and online updates disabled flags.
I see that there is a requirement for provisioning the board in case of online updates. For the offline updates it is required to store shared data provided by torizoncore-builder:
torizoncore-builder platform provisioning-data --credentials <path/to/your/credentials.zip> --shared-data shared-data.tar.gz
# and then copy archive to the board and put it into /var/sota/import folder
Is this step obligatory?
I tried to run update without this information and it looks like it worked normally, although with some log errors.
And if it is required, should I follow this documentation approach then: Production Programming in Torizon | Toradex Developer Center
input:
easy-installer:
local: <INPUT_IMAGE>
customization:
<YOUR_CUSTOMIZATIONS>
output:
easy-installer:
local: <OUTPUT IMAGE>
provisioning:
mode: "online"
shared-data: <SHARED-DATA TARBALL>
online-data: <ONLINE-DATA STRING>
Can I skip online-data part? The device will never get updates via internet, always will have offline updates.