commit | 0bbd07c008404ed701b336d8a2b398407b908fe6 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Apr 07 15:57:06 2022 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Thu Apr 07 15:57:54 2022 -0500 |
tree | c7b2cfc0dc8583c7321fd1db8a9c0b747193e203 | |
parent | d273b1e06d8d68f60aac3139e5c83f884416c537 [diff] |
Use proper path in service file Using '/usr/bin/env' is now an antipattern. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1e37bf97f16b74eab2e4d40892e042f03dd5023b
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 either a std::hash of the /sys/devices path backing the hwmon class instance or provided suffix value from the command line, and N is the implemented phosphor-hwmon D-Bus API version.