SWUpdate 2024.05 released

30 May 2024

SWUpdate 2024.05 is out, with 125 commits from 24 contributors. Thanks to everyone who sent patches, reviews and bug reports!

Highlights

Handlers delivered with the update. Lua handlers can now be part of the SWU itself and are installed at runtime for the update session. A product can be extended to cases that were not foreseen when the device was designed, without updating SWUpdate first.

sw-versions generated automatically. With --gen-swversions, SWUpdate writes the list of installed software and versions after a successful update. The file has the same format as the sw-versions file, so SWUpdate can maintain it completely.

postfailure scripts. Scripts can now run when an update fails, for example to clean up or to restore a service.

More:

  • eMMC boot partition switch handler
  • Docker: support for volumes and networks
  • updated web application

Fixes

  • the 16 KB limitation when the SWU is stored was removed
  • stricter checks while parsing sw-description
  • delta handler: last chunk fixed
  • swuforwarder: crash fixed
  • regression with IVT and GPG support fixed

2024.05.2 (20 June 2024) fixes a bug in the UBI volume handler: please update if you use UBI.

Sources: tag 2024.05 on GitHub · Documentation