commit | 341e3cfa73af2dc87a1279e1189d03a61b8b8507 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Jul 09 13:37:41 2025 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Fri Jul 11 14:59:23 2025 +0000 |
tree | d44d6f4c11d2cf9e75498b9dc3e10615008c7389 | |
parent | 35f96bcb178a7ac43f23afbc973eeea2d80b397a [diff] |
Give negative-errno-on-fail a default The 'negative-errno-on-fail' option was initially added when the repo used autotools, and if not specified it defaulted to false. When the repo was moved to meson a default value wasn't given, and either at that point, or possibly when a new version of meson came along, the option would get set to true if no explicit value was given. Go back to the original behavior by specifying a default value of false in meson.options. Tested: Before fix: $ grep NEGATIVE build/config.h #define NEGATIVE_ERRNO_ON_FAIL 1 After: $ grep NEGATIVE build/config.h #define NEGATIVE_ERRNO_ON_FAIL 0 Change-Id: Ib866edc4c774f72c3fdda596cb023280e8fe60f0 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:
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 a meson 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.