commit | f383d27afd75967c61fa31dca9259705d6291f3b | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Jun 16 15:17:22 2020 -0500 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Tue Jul 14 13:01:35 2020 +0000 |
tree | a971bd053fb63ee465704d4a6cbd892df6494b11 | |
parent | 716cd78d15d787120e486af43326d6ac295d02c8 [diff] |
item_updater: Ignore duplicate version ids If the partitions or devices where the BMC images reside are flashed with the same image file, for example during manufacturing process, we'd end up with duplicate version ids. Ignore that version for now and treat it as non-existent. A subsequent code update would rewrite that partition. There is a request about being able to support an Accept/Commit operation which would write the current version to the other BMC versions, so that for example a system with versions that contain a security vulnerability can be updated to the fixed version but also overwrite any other old versions to prevent the system from booting from an old version. So eventually we'll add support to show the system with 2 BMC versions that are the same. Tested: Flashed an eMMC with the same image on both BMC partitions and verified only one d-bus object was created and the software updater didn't crash. Change-Id: I95c5ed968df074ff56da3f80c07a95505fbdf2cd Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.