commit | d950f410b71e0ac4650519eb5bf7ea683e98684d | [log] [tgz] |
---|---|---|
author | JeffLin <JeffLin2@quantatw.com> | Wed Oct 20 18:49:34 2021 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Dec 07 00:07:41 2021 +0000 |
tree | 6a54e79ae5eeb58ed00a86d4ffdc2e159d963958 | |
parent | ac05aa1cdeb0d5be0baae098c4187166ea026976 [diff] |
dbus-sdr: Remove suffixs appended by dbus-sensors psusensor in dbus-sensors will append some suffixs in objectpath and make the name easily exceeds 16 bytes. This patch remove the suffix according to the appending rule in psusensor. See https://github.com/openbmc/intel-ipmi-oem/issues/4 for details. Tested: cpu0 pvccinfaon | 17.224 | Amps | ok | na | -5.176 | na | na | 51.048 | na cpu1 pvccinfaon | 16.552 | Amps | ok | na | -5.176 | na | na | 51.048 | na cpu0 pvccinfaon | 23.884 | Watts | ok | na | -9.864 | na | na | 57.060 | na cpu1 pvccinfaon | 23.026 | Watts | ok | na | -9.864 | na | na | 57.060 | na cpu0 pvccinfaon | 45.000 | degrees C | ok | na | 0.000 | 3.000 | 90.000 | 95.000 | na cpu1 pvccinfaon | 44.000 | degrees C | ok | na | 0.000 | 3.000 | 90.000 | 95.000 | na cpu0 pvccinfaon | 1.014 | Volts | ok | na | 0.858 | na | na | 1.131 | na cpu1 pvccinfaon | 1.014 | Volts | ok | na | 0.858 | na | na | 1.131 | na │ ├─/xyz/openbmc_project/State/Decorator/cpu0_pvccinfaon_OperationalStatus │ ├─/xyz/openbmc_project/State/Decorator/cpu1_pvccinfaon_OperationalStatus │ ├─/xyz/openbmc_project/sensors/current/cpu0_pvccinfaon_Output_Current │ ├─/xyz/openbmc_project/sensors/current/cpu1_pvccinfaon_Output_Current │ ├─/xyz/openbmc_project/sensors/power/cpu0_pvccinfaon_Output_Power │ ├─/xyz/openbmc_project/sensors/power/cpu1_pvccinfaon_Output_Power │ ├─/xyz/openbmc_project/sensors/temperature/cpu0_pvccinfaon_Temperature │ ├─/xyz/openbmc_project/sensors/temperature/cpu1_pvccinfaon_Temperature ├─/xyz/openbmc_project/sensors/voltage/cpu0_pvccinfaon_Output_Voltage ├─/xyz/openbmc_project/sensors/voltage/cpu1_pvccinfaon_Output_Voltage Signed-off-by: JeffLin <JeffLin2@quantatw.com> Change-Id: I66620e6b6cd7088a848b79ea625c9cefa63f2053
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
.