commit | 780220f277d13218ac6b7ea7a8eae1b66a7d8f5e | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Jan 18 20:01:53 2022 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Jan 31 20:25:57 2022 +0000 |
tree | f7a083d69d539c1c175b9cf38e3252514ce74a4d | |
parent | a84f06d2e4217fff40c63ffbe9ef7608a1238bd4 [diff] |
serialize: Use flash id instead of version id Update the serialize functions to take the flash id instead of the version id since version id can be different every time the BMC boots up once support for uploading the same version is added. For the erase() function, if the flash id cannot be determined, it won't be able to clean up the serialize directory since it doesn't know the name for it, but this should be a rare scenario since the flash id (Path property) is set when the BMC boots up. Tested: The serialize directory name remains the same for ubi (version id), and it changes to "a" or "b" for mmc. The priority of the versions are found and restored upon reboot. Change-Id: Ic2bd39caadbf7147e30200be8c4080f2b030c17a 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
.