Understand Nocturne OTA mechanisms
mainNocturne uses A/B partitioning with libswupdate for Over-the-Air updates. If a new slot fails to boot three times, the bootloader automatically rolls back.
There are four types of updates driven by the companion app:
image: Writes a full.swuto the inactive root partition.daemon: Atomically rotates thenocturnedbinary on the bandaid bind-mount and restarts the service.builtin-webapp: Swaps the SPA bundle on the bandaid bind-mount and restarts the service.bandaid: A combined update for both the daemon and the SPA bundle.
Delta OTAs: Uses zchunk to ship only changed chunks via HTTP range requests over the USB link.