commit | 9930137b234144a244e953cb1c2aae7d51bd67a3 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Sun Sep 29 16:27:12 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Wed Oct 23 06:53:42 2019 +0000 |
tree | c8282b08d8ac4ddebb8b21633ea02aacfe767b81 | |
parent | a5c47bb3fd28c9178f3573fc49d6db60c43a0480 [diff] |
Refactor: Make Activation inherit FilePath interface Previously Version inherits FilePath interface to provide the information of the file path property of a software, and Activation was using pre-defined location to find the image path (IMG_DIR / versionId). Now the code is going to support pre-built image and stored image during update, the Activation class needs to know the file path to perform the update. So this commit "moves" the FilePath from Version to Activation. Tested: Verify the "Path" property on FilePath still exists on the DBus object after uploading a tarball. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I37b41eaa93cd239ab7732f6fac9400410995ca71
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