Hi Motomasa,
On 01/08/19 12:06,
motomasa...@miraclelinux.com wrote:
> Hi Stefano,
>
> I'm Motomasa and a co-worker of Keisuke from Cybertrust Japan.
>
> Please let me add more information. Based on that, I would like to
> confirm
> the design concept of SWUpdate.
>
>
> > Is there any other way to update them automatically?
>
> It does not make sense.
>
>
> In my understanding, a certain operator, administrator or related someone
> of the SWupdate running device should be responsible for appropriately
> updating "/etc/hwrevision" or "/etc/sw-versions" when it updated
Updating /etc/hwrevision means you are updating the Hardware, and this
means in most cases you are replacing an old or defect hardware.
/etc/hwrevision should be generated by reading from Hardware and
detecting a board revision, or something like that. There is no standard
mechanismus to do this (GPIOs ? I2C ? Something else ?) and the
responsibility to do it is outside SWUpdate.
/etc/sw-versions belong to software. But as I explained before, you can
an old bootloader running a new release of software, and you decided
just later to replace the bootloader. And you do not want that the
bootloader is replaced on all devices in field because it could be
risky, so just in case the bootloader is too old.
> as no matter what to hardware or software. The responsibility should not
> be belonged to SWUpdate.
Right - the responsibility does not belong to SWUpdate. It is just an
input for SWUpdate.
>
> Therefore we, device administrator can freely define and write
> a "/etc/hwrevison" or "/etc/sw-versions".
Yes, as I explained before. Please also note that sw-versions can be
used, but it is not duty. It just avoid to update risky artifact like a
bootloader. SWUpdate just skips the install of an artifact if version is
the same.
> instead of this,
> we have the responsibility of managing them.
>
I have not well understood last sentence, I do not know what you mind
with "managing them".
> If I'm wrong, could you correct me?
>
Best regards,
Stefano Babic
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swupdate+u...@googlegroups.com
> <mailto:
swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/swupdate/d708076e-c1f2-41d8-b62b-e977262cbbdf%40googlegroups.com
> <
https://groups.google.com/d/msgid/swupdate/d708076e-c1f2-41d8-b62b-e977262cbbdf%40googlegroups.com?utm_medium=email&utm_source=footer>.