Age | Commit message (Collapse) | Author | Files | Lines |
|
It was observed that we have different approaches to modifying the
EXTRA_OEMESON variable across our recipes. The bitbake manual
implies that override syntax (":append") is slightly better and the
poky meson bbclass also prefers it:
meta/classes/meson.bbclass:EXTRA_OEMESON:append = " ${PACKAGECONFIG_CONFARGS}"
Switch all recipes to use the ":append" override syntax for the
EXTRA_OEMESON variable.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I24e9a27a87c61f374acfb03a63955821fce0dd20
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
|
|
Thang Q. Nguyen (1):
sensor: accept single sensor threshold
Change-Id: Ide82a487fb233e12fb16e7d757678f99cb903d74
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
We don't yet support turning on ptest so we are wasting cycles building
them.
Change-Id: Ica6d2f7f6b99900889c1ff8b69073677c1f65f81
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (1):
build: test: Fix invalid variable
Change-Id: I9b597c8587a4739e1382103093f1125dff71f166
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (1):
Hardcode SensorValueType to double
Change-Id: I63d4962194e4767e261b9edc3e9f2f927e216d98
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The pkg_postinst is not running as a separate function.
To allow "_append" routines do conditional checks instead of "exit".
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: Ia82ce0a2454198035b6ae7585bb04885d8e1e238
|
|
Brandon Kim (1):
sensor: Implement sensor "ASYNC_READ_TIMEOUT"
Change-Id: I6e9d043837b4e267f969f3939db876b2c38cd479
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Anton D. Kachalov (1):
Add sensor instance id command line argument.
This change will generate busconfig ACLs from the provided hwmon
environment files from /etc/default/obmc/hwmon that will be
supplied as "sensor-id" argument to hwmon daemon.
This change required as a part of privilege separation work:
https://github.com/openbmc/openbmc/issues/3383
This change should be merged after individual repo change:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/40214
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I37c31d6f2f74041bfee453bdf338d4c7e148c791
|
|
Use meson to build the package.
This change required as a part of privilege separation work:
https://github.com/openbmc/openbmc/issues/3383
This change should be merged after individual repo change:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/40277
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I542645d55b8646e0ddb3fb95f50a1cd87334706e
|
|
Anton D. Kachalov (1):
Install service unit files, busconfig and udev rules from the package.
William A. Kennington III (4):
gitignore: Ignore all build directories
meson: Cleanup library linking
meson: Explicitly check for CLI11 dependency
meson: Cleanup tests and make them execute again
Change-Id: I26d3f28adb2ecb9b96b27bfd082ab8c3dac921f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
Change #ifdef to #if after move to meson
Remove autotools files
Change-Id: I8f22b9ef4ea0ab080ef7a3836e7a81b4d3335da2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Venture (1):
MAINTAINERS: Handoff from Venture to Kim
Change-Id: I718c80713a11af7573d6a92c0c43412b8cd8341e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Duke Du (1):
Send high/low alarm signal when sensor reading exceeds threshold
Change-Id: I8c3ecc19329703f84be2a6fde1fd915a6affbae4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
Anton D. Kachalov (1):
Make shellcheck happy about the max31785-msl script
Patrick Williams (2):
bootstrap: fix shellcheck warnings
enable shellcheck
Change-Id: If755ac0e8da2326460eafb596ba50adab4452a73
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (1):
Change an sdbusplus mock signature
Change-Id: Iea854c8998daa84061456b5d21c34dda6d140f6b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
By default, the max31785-msl package was getting installed in all images
including phosphor-hwmon. A fix was done in the phosphor-hwmon repo to
make this be an "opt-in" configure option to install the max31785-msl
application. This makes the max31785-msl a package config on the
phosphor-hwmon recipe where its not included unless explicitly appended
in a bbappend file in a machine layer.
ex.)
PACKAGECONFIG_append_ibm-ac-server = " max31785-msl"
SYSTEMD_ENVIRONMENT_FILE_max31785-msl_append_ibm-ac-server = " obmc/hwmon-max31785/max31785.conf"
SYSTEMD_LINK_max31785-msl_append_ibm-ac-server = " ../phosphor-max31785-msl@.service:multi-user.target.wants/phosphor-max31785-msl@${MACHINE}.service"
Tested:
Built image without appending the max31785-msl package
Verified no files related to it were in the image
Build image appending the max31785-msl package
Verified all related files were in the image
(From meta-phosphor rev: 22546d9032e077cddd4cef325080315e51720016)
Change-Id: Iacd8e4194f4749b023463965514ff6f73beb4739
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (1):
max31785-msl: Default not to install
(From meta-phosphor rev: 328da48152267df4da8b233d63b80c6c45d25d8c)
Change-Id: I3689ed12336c71a18ddb873f81d9714c6890733e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (1):
Fix applying sensor scale on first read
(From meta-phosphor rev: 91ada7c55663a81340233304440ea373719db86f)
Change-Id: Iaa0d9a05daa76a08a58d0bb5415b521189d2745a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (2):
Fixes for when sensor value is a double
Print the errno from a fail in the journal
(From meta-phosphor rev: c0499c75225c2eff4cddc7d4d23b637c324e58df)
Change-Id: Ie6da1a87b1426b77b01098c9514de68b0f28e2f5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (1):
Print the failing filename in the journal msg
(From meta-phosphor rev: a81c81caa9f2c51be3897fcf46f1643dce47e295)
Change-Id: Iffb351c2502e38729f3abc2d9d8603b1094cc651
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add missing dependency on stdplus in recipe.
(From meta-phosphor rev: 9d2aa344187192fb0e1af85b0119a0332822f831)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ic05259a05db8fe0420cec4a17739aa79e8f66778
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Remove execute permssions from udev rules to avoid errors like:
systemd-udevd[110]: Configuration file /lib/udev/rules.d/70-iio.rules is
marked executable. Please remove executable permission bits. Proceeding
anyway.
(From meta-phosphor rev: d0c97c05b3c9b0d4b73978894b87cf649944bb37)
Change-Id: Ie2908b5b0734e79cf4d0287d1fe7262022d5d740
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Brad Bishop (1):
build: add support for building with meson
(From meta-phosphor rev: 723a5cd1094f54c351ecde8bf7e8390aa387c579)
Change-Id: I82a751d16172428ce053fac32166f51670860dac
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Gunnar Mills (1):
Update sensor-architecture.md link
(From meta-phosphor rev: edaf5a39ac2576ff150e1036362c44833fb24bcd)
Change-Id: I87ec1e67606b45d3cb965f7a16f6079d92194bf8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Brad Bishop (2):
test: average: avoid unwanted implicit type deduction
tests: fix warnings
(From meta-phosphor rev: 94c6ce37948f1ed3400e6c1158ab24731acee397)
Change-Id: If9d7f7d788fa1d03917e14ed339ce3fb9e0c0945
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Kun Yi (1):
Rework envMock
(From meta-phosphor rev: e6396e657f9d895fce9ae5f45915c9d39118db15)
Change-Id: Ib9a8317a6c5e5369a4771ffbb16e917916b7d723
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Kun Yi (1):
Suppress clang-format on one case
(From meta-phosphor rev: 9eeb080f1ea37f2aba88ec3d82919ddc110de240)
Change-Id: I4057aaa29ab66e04a47a17f44b5ad6c23dd2007d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Carol Wang (1):
Support averaging power values
(From meta-phosphor rev: 0ed179c98251e5983e050212f313173ab3e4e41f)
Change-Id: I3109b351be34aab1f713a32e1457d3e591152320
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
William A. Kennington III (1):
sensor: Replace GpioLock with stdplus RAII helper
(From meta-phosphor rev: f546ecce5ca02ec2bcdbf5f87dbb70ed7133cb0d)
Change-Id: I04a996dea183608580e58758f1835b07b075a010
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Kun Yi (1):
[cleanup] mainloop: simplify with structured bindings
(From meta-phosphor rev: 08d39d0716e9a699d8a9d883a7a5b9a81b0dccba)
Change-Id: I3f7a633aa97ba758711becf26b7eb0e9ceed5545
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Kun Yi (2):
[cleanup] sensor: Fix function declaration constness
[cleanup] mainloop: continue early
(From meta-phosphor rev: e956fa98c052885f27c17b074752e8dc6557f52e)
Change-Id: I75fb2ae7661d49987b5f287947a9ffeca1ec5979
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Brandon Kim (1):
sensor: Add UPDATE_FUNCTIONAL_ON_FAIL and its behavior
(From meta-phosphor rev: aa24a16123e77b7fd8b2d73e45a5c9ba5e053f8e)
Change-Id: Ic582e3817daab5c0e91bf6fe631e3b0ea75941b7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
drop remove_from_dbus_on_fail option
(From meta-phosphor rev: 98f140f904e0c8247fd9efc08a450681edb9530d)
Change-Id: I8a0209c7ab83bebb3fbc99c8b0e68968dcd5e3b3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
mainloop: move out the interface update method
(From meta-phosphor rev: 89e1d83fa3a23d37f6967259fed909c57bdc6dbe)
Change-Id: I3eccbb486124ea90c6c9f12717d971014d12c234
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
mainloop: delete unused local empty pointer instances
(From meta-phosphor rev: 0a1c7c09cd9ffef18a770bddfefc3a50a5b3fef3)
Change-Id: I8265afca9a368d3c4ef0ef4dc0d4d18609bfad32
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Brandon Kim (1):
sensor: Always add status interface, track fault file with class member
(From meta-phosphor rev: bf40ce9d195bac6cddbd6870843f1f7b82c3f44b)
Change-Id: I6a7213e726b27780756ad375df0ef543d7970268
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (5):
sensor: remove redundant condition
mainloop: add helper methods for sensor removal
mainloop: Make HwmonIO injectable dependency
hwmonio: Add injection point to test internal behavior
MAINTAINERS: +R: Brandon Kim
(From meta-phosphor rev: 8a31fd94cc89041d3691c4612df1b774794f4fe5)
Change-Id: I8a8586f26f595250c4bc9691ffbf37ca00bbbbe1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (2):
types: add missing headers
rename Object type to InterfaceMap
(From meta-phosphor rev: a7b6fff34d9ea1ec8fb7dd04813c3ab09c38e11d)
Change-Id: I8055b394be739a12eed3b60353ad5881beae8235
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Brandon Kim (1):
sensor: Implement RAII object for GPIO unlock and lock
(From meta-phosphor rev: 6b27e053a974d6312385a0a48754573bc1abad06)
Change-Id: Ia29fdd4c24d054060973a541d1f7e8581a375b18
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Matthew Barth (1):
Emit signal and remove sensors from dbus
(From meta-phosphor rev: 0736b07dc9d34537ad0de6f397778df74a88e7a6)
Change-Id: I530d52fda048f6ab63b18d05cc355080b746de88
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Matt Spinler (1):
Use std::filesystem::path::relative_path()
(From meta-phosphor rev: f5a27e8bf94cd1b90c8bd31c159bda3a710f0d2a)
Change-Id: I5599a785ca24f326d43ff20d791b11045d86f9fb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (1):
build: install into bin instead of sbin
(From meta-phosphor rev: 5e1d0498314186e1031f360ccdf9e8a4ae5e1ca8)
Change-Id: I658731d5c7f1cbfc30fc487944c6098d1c9486cc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Venture (4):
build: enable code coverage
swap out getopts for cli11
flip error and help message on failure
build: enable valgrind
(From meta-phosphor rev: 1e70d896d29f1e23b51f50af98d97bef40b45fda)
Change-Id: Ie7ae2c37f8315383bb68518f9af7c0f38a4fbed9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add cli11 dependency for build.
(From meta-phosphor rev: 5fe521da77d5cb756c731f6ef632c20baa5a2614)
Change-Id: I70cea077ceae246efd8bf4449fa3e98dea7cca34
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (1):
Don't std::filesystem::path::/= an absolute path
(From meta-phosphor rev: 936ad85b84c682784d369e1a46cb4bd800e8cb50)
Change-Id: I69dc447a0681f5b3c661029818db173d22122226
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (2):
test: rework gtest/gmock lookup
use filesystem instead of experimental
(From meta-phosphor rev: e22a66f1989646bb0e567149cc366c45a213a655)
Change-Id: Idb36319bb383f7c090b96ee5f2c8dc382f88460f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (1):
test: rework to use Pair-wise comparison
(From meta-phosphor rev: 3d7d7a2826f2e42863cf78679da195794bd8cb59)
Change-Id: Ib9516ac33d90b84d2c8e575ceb5d05b0efee6d11
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (1):
Cleanup _gitignore
(From meta-phosphor rev: 20fef82d78eb370c264ae86d169e559e1c2b54ee)
Change-Id: I55b6d15e6c7b4d4fccf54da3f3cca16aa123405f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|