commit | c2cb1bc28a76cb7b1723add540b836667c5eedeb | [log] [tgz] |
---|---|---|
author | Sui Chen <suichen@google.com> | Tue Jan 10 02:52:06 2023 -0800 |
committer | Sui Chen <suichen@google.com> | Thu Feb 16 02:41:19 2023 +0000 |
tree | adb51d4048e5722e4b9f1b02ac8999f62f275b65 | |
parent | bd604760285e3def12c59e84f4d0b933827ab775 [diff] |
dbus-sdr: Look for ObjectManagers on /xyz/openbmc_project/vr There are event-only voltage regular control sensors using the code merged in https://gerrit.openbmc.org/q/hashtag:dbus-sdr-vr-sensors that install ObjectManagers at /xyz/openbmc_project/vr. In commit 9a9ac0bcfc2df48873ca0f9725eb5255f7191d84, dbus-sdr was updated to only look for ObjectManagers located at and under /xyz/openbmc_project/sensors. This broke the VR daemon as the VR controls now do not appear in `ipmitool sdr elist event`. The reason is, before the above commit, dbus-sdr looked for ObjectManagers located at and under the root path, which involved both /xyz/openbmc_project/sensors and /xyz/openbmc_project/vr. After the move, /vr got left out. This change adds /vr back, so dbus-sdr looks for ObjectManagers on both paths. Tested: `ipmitool sdr elist event` makes the VR daemon's event-only IPMI sensors show up again. Signed-off-By: Sui Chen <suichen@google.com> Change-Id: Icab98137a0115e1c5a482cc97598f7dd66d26bfc
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage