Open jannyau opened 1 year ago
I also encountered this problem. Have you solved it now?
Has this problem been solved?
diff --git a/dbus-sdr/meson.build b/dbus-sdr/meson.build index bfdbde1..67af6de 100644 --- a/dbus-sdr/meson.build +++ b/dbus-sdr/meson.build @@ -19,5 +19,6 @@ dbus_sdr_pre = declare_dependency( dbus_sdr_src = [ 'dbus-sdr/sdrutils.cpp', 'dbus-sdr/sensorcommands.cpp',
I have a question. I set option dynamic-sensors enabled in meson.options. By Meson.build Log , Compilation did not work and dynamic-sensors is disabled.
If I force a change in meson.build. This command ipmitool sensor list displays the sensors I added later. Configure the Entity Manager and virtual sensors
I found that the reason is that meta-phosphor\recipes-phosphor\ipmi\phosphor-ipmi-host_git.bb overwrites meson.options
Versions: openbmc: 18caa97591 phosphor-host-ipmid: 68e82947f6
Platforms: QEMU ast2600-evb & ast2500-evb
Description: Enable the dynamic-sensors option in phosphor-ipmi-host_git.bbappend: PACKAGECONFIG:append = " dynamic-sensors"
and then build the code. It successfully created libdynamiccmds.so.1 under the IPMI provider folder. However, the library couldn't be loaded during ipmid start-up. Then, because the SDR commands in this library were not registered and the default ones were disabled by this option, all the SDR commands became invaild.