[yocto] update mechanisms

Lopez, Mariano mariano.lopez at linux.intel.com
Tue Dec 13 06:03:17 PST 2016



On 12/12/2016 1:02 PM, Patrick Ohly wrote:
> On Mon, 2016-12-12 at 09:49 -0600, Mariano Lopez wrote:
>> On 12/12/16 09:41, Patrick Ohly wrote:
>>> On Mon, 2016-12-12 at 08:59 -0600, Mariano Lopez wrote:
>>>>>> In particular the "complexity" column is a bit subjective. Stefano, I
>>>>>> hope you don't mind that I did not quite buy the "easy to use"
>>>>>> characterization of swupdate ;-)
>>>>> No worry...and I have not written myself. It was inserted by Mariano, so
>>>>> it looks like that swupdate at least for Mariano is "easy to use".
>>>>> I think it is correct to point out that customization is required.
>>>> Compared to other update mechanism that I tested it was the easier to
>>>> implement.
>>> Which "getting started" document or presentation were you using? The
>>> documentation for mender (https://docs.mender.io/) is very
>>> straight-forward (partly of course because it doesn't need to cover many
>>> variations), while for swupdate
>>> (http://sbabic.github.io/swupdate/swupdate.html) I found it less clear
>>> how to begin.
>>>
>> When I did a research in update mechanism, mender wasn't yet available,
>> and indeed it seems very straight forward (need to test it before final
>> veredict). But if you compare SWUpdate, swupd, and OSTree; SWUpdate is
>> by far less complex than the other two
> Ease-of-use is not necessarily determined by the complexity. Good
> integration and documentation can go a long way towards making a complex
> solution easy to use - when sticking to the pre-defined usage patterns.
>
> The opposite is also true: a simple solution may be hard to use if all
> one gets is the source code and one first has to reverse-engineer the
> usage model.

Completely agree with you Patrick, it could be a simple solution very 
hard to use because of the lack of documentation

>
> I agree that the complexity is roughly swupdate < ostree < swupd and
> there's also no doubt that the latter two aren't easy to use (mostly due
> to lacking documentation and integration), but I'm still not sure what
> documentation the "easy to use" verdict for swupdate is based on.
>

I based my verdict using this source:
https://sbabic.github.io/swupdate/
You can follow this and create your update image few hours.

Cheers
Mariano



More information about the yocto mailing list