commit | 12c9f4c48df36ff22b060ceefc7d6cf0c365e865 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Wed Sep 11 15:08:15 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Thu Sep 12 14:06:00 2019 +0800 |
tree | bc31a5421080f659e0f5164b59c8e853ee81637a | |
parent | dcaf893476b1e6b8e32d7e91dd92307f0763906b [diff] |
Activation: initially support psu update Initial support for PSU update by starting a systemd unit with PSU inventory path and image dir as arguments. Add an example psu-update@.service that shows how the arguments are passed to systemd unit and expanded to command line arguments. Tested: Upload a dummy tarball, create a dummy service that only prints the arguments, and verify the service is invoked correctly when the RequestedActivation is set to Active. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I7e122f1cce234caf4951d3e3daad5bee406b507b
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