commit | 5b520cf494ad65be2d336f60ee622efc456c2e3f | [log] [tgz] |
---|---|---|
author | Anton D. Kachalov <gmouse@google.com> | Wed Feb 03 23:19:39 2021 +0100 |
committer | Anton D. Kachalov <rnouse@google.com> | Thu May 06 22:03:58 2021 +0000 |
tree | 2828b02f8ba112dd094550fe5371a7cff98b2706 | |
parent | bb25973aff4ef20651ed73381380a2e9d44dafdf [diff] |
Install service unit files, busconfig and udev rules from the package. This change required as a part of privilege separation work: https://github.com/openbmc/openbmc/issues/3383 The dependant change in openbmc repo: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/40359 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I89aec71b446e0b7be40a10e1cd94ea16d891a277
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. meson build 2. ninja -C build To clean the repository run `rm -rf build`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.