commit | 1f30ab2c476a473f3a78030c5dc1110c287e0789 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Thu Mar 28 13:31:47 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Mar 28 13:31:47 2019 -0700 |
tree | 5d16f556e31f2eba15bfc6f8e40a75312826cfa8 | |
parent | 7e276658d0a0783eb51303995db1a72daaadc4a2 [diff] |
build: install into bin instead of sbin Installs into bin instead of sbin per guidelines. Change-Id: I298c17fb2bf6fcb6a949624f8bb2475f3878545f Signed-off-by: Patrick Venture <venture@google.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.