SWUpdate 2024.12 released
SWUpdate 2024.12 is available: 151 commits from 22 contributors.
Highlights
btrfs snapshots. The btrfs handler can install snapshots, for systems that update their root filesystem as btrfs subvolumes.
Stream an artifact to any command. A generic way to pass an artifact as a stream to an external command: tools that are not covered by a handler can be used without storing the artifact first.
Disks and flash:
- filesystem labels in the disk handlers
- UBI volumes keep their IDs on resize
- new command to get the eMMC boot device
More robust parser. sw-description is now type checked, and libconfig and JSON sw-descriptions behave the same.
Lua handlers per update session. Lua handlers run in the Lua session of the update instead of a global state, so each update starts clean.
More:
- SSL support in the Python client
- web server updated to Mongoose 7.14
- CI on Ubuntu 24.04 (noble)
Fixes
- out-of-bounds access in the multipart parser of the web server
- web server crash with a malformed URL
- race condition in the asynchronous client API
- crash when the eMMC handler is called from Lua
- LuaJIT support
- hawkBit: status reported correctly when the reboot is disabled
- documentation cleaned up and improved
2024.12.1 (22 January 2025) fixes a bug where SWUpdate reported success even if the raw handler did not copy the file (missing slash in the temporary mount directory). Please update.
Sources: tag 2024.12 on GitHub · Documentation