[yocto] update mechanisms (was: Re: [meta-swupd][PATCH] bsdiff: update to latest version)

André Draszik git at andred.net
Thu Dec 1 02:26:03 PST 2016


On Thu, 2016-12-01 at 08:42 +0100, Patrick Ohly wrote:
> On Wed, 2016-11-30 at 17:19 +0000, André Draszik wrote:
> > I liked swupd for its ability to be used both for initial provisioning
> 
> You mean installing from the update repository? That's something that
> Clear Linux OS can do with their installer, but nothing like that has
> been tried with a Yocto-based build. That doesn't mean that it can't be
> done, it's just work.

Yes. In our case we can only provision the NOR flash in the factory (which
is too small for the real file system), so I have the swupd-client inside a
small initramfs in NOR flash, and from there I can provision NAND flash
using swupd verify -i

All yocto based, but in its current state not in a generally useful shape
for a wider audience.

> >  as
> > well as for incremental updates. The latter being important when you
> > have
> > *loads* of devices, where it doesn't seem to make sense to download a
> > full
> > image for a tiny change to each device (think cellular!),
> 
> That's indeed one of the strengths of swupd. OSTree comes close in terms
> of some key characteristics (file-based, persistent /etc and /var). It
> would be interesting to know how efficient updating via OSTree is.

True.


A.




More information about the yocto mailing list