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

Patrick Ohly patrick.ohly at intel.com
Thu Dec 1 03:25:53 PST 2016


On Thu, 2016-12-01 at 10:26 +0000, André Draszik wrote:
> 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

Interesting, I hadn't thought of using it like that. When doing this,
does it download the "from-0" pack files?

"swupd bundle-add" uses those; I'm less sure about verify. It would have
to detect that it misses all files from the os-core bundle and then as a
special optimization get the pack file instead of individual files.

Speaking of bundles, is that concept something that you find useful for
your purposes? It's not strictly needed for a pure system update
mechanism.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the yocto mailing list