Re:Yocto, RockPi and SBOMs: Building Modern Embedded Linux I...
by mvip on Saturday February 22, 2025 @05:43AM
(#43137857)
+1 for "full immutable system image update"
People who suggest updating individual packages (or even worse, individual deb packages for instance) have never deployed any large scale IoT/Embedded projects. These devices are very different than servers/desktops and will break in ways you can't imagine. We started out using deb packages at Screenly before moving to Ubuntu Core, and the amount of error/recovery logic we had written to recover from broken deb package state was insane at that point.
Re:Yocto, RockPi and SBOMs: Building Modern Embedded Linux I...
by unitexe on Saturday February 22, 2025 @01:10PM
(#43141466)
One has to implement the rollbacks in the bootloader after they have implemented an A/B update pattern.
In u-boot this is done with its boot count limit config and altbootcmd.
For embedded systems, I strongly prefer the "full immutable system image update" approach over the "update individual packages with a package manager" approach. Plus you get rollbacks "for free": if the system doesn't boot into the new image, it automatically falls back to booting into the previous image.