| commit | c9caf86988b5695c117894df1628cba0cc4b4210 | [log] [tgz] |
|---|---|---|
| author | Lei YU <mine260309@gmail.com> | Thu Jan 24 15:40:25 2019 +0800 |
| committer | Gunnar Mills <gmills@us.ibm.com> | Tue Jan 29 22:30:37 2019 +0000 |
| tree | 02521c6b1af1760bd4de59dcc560f2479e33abdb | |
| parent | ae81da466084a2db45e41e06f01123f2f35002dc [diff] |
Invoke Delete method to correct service
When PNOR code update is finished, it needs to invoke Delete interface
to xyz.openbmc_project.Software.Version service to delete the temporary
files in /tmp/images.
The code was using the first service from mapper call, and the first
service may be org.open_power.Software.Host.Updater, which is itself,
and this method call results in ELOOP error.
Change the code to pick the correct service to invoke Delete method.
Resovles: openbmc/openbmc#3311
Tested: Verify the temp files in /tmp/images/<versionID> is deleted
after PNOR code update, and no ELOOP error occurs.
Change-Id: I855db171a05db66a5e4540d662031c3d219d4a9e
Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run `./bootstrap.sh clean`.