-
Notifications
You must be signed in to change notification settings - Fork 60
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1529 +/- ##
==========================================
+ Coverage 81.85% 81.93% +0.07%
==========================================
Files 186 186
Lines 11403 11424 +21
==========================================
+ Hits 9334 9360 +26
+ Misses 2069 2064 -5
Continue to review full report at Codecov.
|
2fefa57
to
c8f68d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but CI ain't happy.
|
||
// TODO: consider more elegant way of storing currently installed target name | ||
// usage of the SQLStorage and ostree implementions aimed for Primary is | ||
// a quite overhead for Secondary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would you propose? We can make a ticket to reconsider this, but if we have to use the same storage and OSTree manager classes, it doesn't seem like much of an extra burden here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I have a few ideas, better to talk/discuss it during a call/meeting.
Yeah, I am working on it. I tested this fix on QEMU and it does work for me. Also, I am going to add a fix for the second minor issue into this PR (2) Secondary outputs an incorrect hash value just after applying the pending hash/version into logs, but it does not break anything) |
0c42544
to
b1d8cdb
Compare
@patrickvacek I verified this version of QEMU multiple times with different value of OSTREE_BRANCHNAME and different reboot sequence, looks like it works and fixes the issue. |
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
Fix the issue with an incorrect value of filepath/target_name in a device manifest if GARAGE_TARGET_NAME/OSTREE_BRANCHNAME != SOTA_HARDWARE_ID Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
b1d8cdb
to
c8814a9
Compare
Signed-off-by: Mike Sul ext-mykhaylo.sul@here.com