I know offline updates are still in early stages of rollout but I’d like to propose/request support for squashfs images in the next version. We’ve been working with them on TorizonCore 5.7.0 and some aspects are… painful out-of-the-box. The generated update data comprises some 14000 small files which takes well over 30 minutes to extract from e.g. a distributable .tgz , whether it be directly to a USB drive or some internal storage on the SoM itself.
We’ve worked around this by packing its contents in to a SquashFS file and then mount
ing this directly from the USB drive which results in significanly less overhead and time spent copying data as a part of the process.
Given this seems like a good improvement to the offline update user experience I’d like to suggest it is worth exploring making it the “official” update format - a signed squashfs image of the update with some metadata to allow the update client to recognize it - and a few configuration options to allow the designer to specify e.g. a custom file extension/name to filter when checking media for updates.
This also has the added benefit of passively enabling updates via any channel that can transport a file - for example, in one of our use cases we intend to have a series of networked (without Internet) SoMs where a primary controller will distribute the update to all its connected nodes rather than needing to have a user visit each remote individually with a “magic” usb drive. Each SoM would copy the update to its local (SD) storage, mount it, and remove it when finished.