commit | 00bd9029eb06acf34d446c17db4af27a07c52fe0 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Wed Jan 24 13:55:58 2018 -0600 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Wed Jan 24 14:07:56 2018 -0600 |
tree | ff3d98c28ea089d524570d8d38b19310dc8b7bde | |
parent | 1254c628c5fcf59e111799a839ab7c132fac7330 [diff] |
Fix "Error in Deleting image from image manager" When deleting the updated image from the Version object, the code would query the mapper to get the busname. This call would return 2 busnames, the one for the Activation object and the one for the Version object. Then the code would call Delete on the first busname on the list which would be the Activation one, causing an error because the running image can't be deleted from the Activation object. Instead of querying the mapper for all busnames of a path, and adding logic to figure out which one is the Version one, the updater already knows the Version busname, so just use that directly. Part of openbmc/openbmc#2764 Change-Id: Ia490e11c0fd312fe0c05279964c2cb0c4461ccb3 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: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To full clean the repository again run `./bootstrap.sh clean`.