torizon / meta-toradex-torizon

Torizon OS OpenEmbedded Distro Layer
MIT License
6 stars 14 forks source link

Ensure OTA updates work when composefs is enabled #40

Closed leograba closed 6 months ago

leograba commented 6 months ago

Background

With the latest ostree 2024.4 we found that OTA updates still don't work. Here's the log for one such attempt:

aktualizr-torizon[1010]: Current version for ECU ID: ed487cc7aa13c93d960658e6ce725ff2a10f00df35f520173d31ee443c3a5f4f is unknown
aktualizr-torizon[1010]: Error while pulling image: 21 mkdirat: Read-only file system
aktualizr-torizon[1010]: Error of adding remote: unlink(aktualizr-remote.trustedkeys.gpg): Read-only file system
aktualizr-torizon[1010]: Error while pulling image: 21 mkdirat: Read-only file system
aktualizr-torizon[1010]: Download unsuccessful after 3 attempts.

Goal

Make due amendments to ensure OTA updates work when composefs is enable with a transient /etc.