commit | dcaf893476b1e6b8e32d7e91dd92307f0763906b | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Mon Sep 09 16:09:35 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Mon Sep 09 16:09:35 2019 +0800 |
tree | 6b6ae4f5579c0a2b6f9bca77622ddfbafdbc3a33 | |
parent | 5f3584d43415a3d8c937f045596154462a02ca09 [diff] |
Get version directly on PSU plugged in When PSU is plugged in, get the version directly instead of waiting for the VERSION interface change on the inventory object. This simplies the code a lot in onPsuInventoryChanged(), and it does not depend on the VERSION interface on inventory object anymore. Tested: Verify on Witherspoon that when PSU is plugged out and in, the PSU software object is removed and created as expected. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I2770049baf8ffa8f1d91391fd9225a237acb24dc
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