commit | 5c014d2bb76f6f6d51aecf31bea95cb9ed9b1953 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Apr 16 09:13:14 2019 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Apr 16 12:05:49 2019 -0500 |
tree | e75292f02218abf709795205bee59954d7c3a674 | |
parent | 1f30ab2c476a473f3a78030c5dc1110c287e0789 [diff] |
Use std::filesystem::path::relative_path() Use that function instead of making a relative path manually. Change-Id: I64908353295a10af09baa91bab5d1c3a0152e994 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
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.