commit | 0b1fd51c744a00c287b6999dde096a91906594aa | [log] [tgz] |
---|---|---|
author | zamiseck <zimzam17@gmail.com> | Thu Dec 02 10:56:51 2021 -0600 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Thu Mar 10 20:44:16 2022 +0000 |
tree | d552b7b51036535c72d2f5f14cb5a59517a0dda6 | |
parent | 59b640b07148c56e0a344dda198fcac0cd9af836 [diff] |
ItemUpdater::erase() : Fixed double delete In some cases, when the erase function is called, it attempts to erase an image that is no longer present on the bmc. This results in the following error "Error deleting image (/xyz/ openbmc_project/software/xxxxxxxx) from image manager: sd_bus_call noreply: org.freedesktop.DBus.Error.UnknownObject: Unknown object '/xyz/openbmc_project/software/xxxxxxxx'". This function should only be attempting to erase images that exist. Tested: Case 1: When activating a new image and the process calls the erase function on its own Case 2: When calling delete from the BMC command line Case 3: When calling delete all from the BMC command line All of the above cases did not throw the aforementioned error Signed-off-by: Zami Seck <zimzam17@gmail.com> Change-Id: I66f8734bcaf8cf31f2b009e53c20d59ee26fd5ad
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
.