This article provides some tips & tricks when developing with Torizon.
Torizon is setup with a read-only rootfs by default. This ensures a filesystem which is consistent with the deployed Torizon version. During development it can be useful to changes the rootfs.
There's two methods available. One is temporary and reverts changes on a reboot. The other is persistent but requires rebuilding Torizon using Yocto.
sudo ostree admin unlock
You must be setup for building Torizon using Yocto, adjust your local.conf file with the following.
IMAGE_FEATURES:remove = " read-only-rootfs "
Torizon can be installed through TEZI "Toradex Easy Installer" which performs a clean install (settings are lost) or through the Torizon OTA for units which have been provisioned there, which maintains settings. There's a third option, Local Torizon Updates, which works much like the Torizon OTA, using ostree, but is performed locally and does not require the unit to be provisioned.