| commit | d0bbfa9e5efbe6162da78cf8da74c84f247bd47c | [log] [tgz] | 
|---|---|---|
| author | Lei YU <mine260309@gmail.com> | Wed Sep 11 16:10:54 2019 +0800 | 
| committer | Lei YU <mine260309@gmail.com> | Thu Sep 19 16:04:20 2019 +0800 | 
| tree | 8181d27b1da691d1ee071c1a2032fbdb560e3a5c | |
| parent | 12c9f4c48df36ff22b060ceefc7d6cf0c365e865 [diff] | 
Activation: Delete version interface after activation
When activation is finished, the version interface and the related
images created by phosphor-version-software-manager shall be deleted.
This is done by invoking the Delete method of the related service, so we
need to get all the services from the object, and get the correct
service to invoke the Delete method.
Tested: Verify the Version interface created by
        xyz.openbmc_project.Software.Version service, and the related
        files in /tmp/image/<versionId> are removed after activation is
        completed.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Icb14731bbea35175c2519bd40b9f88a0b54a034a
phosphor-psu-code-mgmt is a service to provide management for PSU code, including:
meson build/ && ninja -C build
meson -Doe-sdk=enabled -Dtests=enabled build/ ninja -C build/ test # Meson skips running the case due to it thinks it's cross compiling # Manually run the tests for t in `find build/test/ -maxdepth 1 -name "test_*"`; do ./$t || break ; done