embedded-linux

#embedded-linux

SWUpdate: build, sign & install a minimal .swu that updates only an app + config

Published at July 26, 2025 ·  6 min read

Goal Produce a small, signed .swu that installs only a binary and its config file, with hash verification, public‑key signature, and optional Lua/postinstall hooks — and know how to fix every error you’ll hit on the way. Directory structure Below is the recommended structure of your update package. sw-description – The manifest file describing all update components. sw-description.sig – The signature of the manifest, generated after signing. app/ – Contains application binaries to be installed....