Closed lizziemac closed 3 months ago
Hey @lizziemac ! Thanks for your interest in hawkBit! Unfortunately hawkBit does not know anything about device partitions ... So it seems that the only way is a workaround somehow. One thing I could think of is to play with the versions of the Distribution Sets e.g. 0.0.1_A 0.0.1_B and based on that the device implementation to handle it ... but yeah ... not sure if this is possible in your case.
Great point! I think that might work for my use case. Thanks!
Plan of attack:
<distribution set name>:<version>
(e.g. Release:0.0.0
-> Release:0.0.1:A
)
Hi there!
I have a device that has an A/B partitioning schema. Currently, if both partitions need a mandatory update, for example, if partition A is updated to 0.0.1, then partition B cannot be updated because the device is already updated. Is there a way to force the update twice in a row? As far as I know, hawkBit doesn't know what partition the device is running on. The only workaround I can think of is somehow reporting the device twice to hawkBit, once for each partition, but that isn't ideal and could lead to longer-term issues.
Thanks! Liz