commit | ffb3653954d9adcb4b871b7c10eedada0ca73c6e | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Tue Oct 15 13:55:24 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Tue Nov 05 10:41:52 2019 +0800 |
tree | 73ad858e1e3e33d3ec8a9d35b0d5f4f8ed70d9f9 | |
parent | 63f9e712596e5f8160c7368534f9189abe553353 [diff] |
Activation: remove old objects after update done The update on PSUs is one-by-one, after each PSU is updated, notify ItemUpdater by onUpdateDone() so that the old object for the PSU is removed. Tested: With dummy PSU image and update service, verify the old objects are removed on Witherspoon. Change-Id: I212b8cba9570ad96083d362bf57691fdabb4e42f
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