commit | c2c26f93c5867db65ab91fed40b71867195ce506 | [log] [tgz] |
---|---|---|
author | Alexander Hansen <alexander.hansen@9elements.com> | Mon Jul 17 09:38:43 2023 +0200 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Aug 23 23:29:34 2023 +0000 |
tree | 96ce7dfd06177e9517cc6592f6b467f0b2f9179a | |
parent | 6475b5c9d7efc23a48d0c522d1eb7fecde09bd55 [diff] |
multiple ipmi shortname implementations As ipmi subsystem requires short names, and there are multiple ways to implement that, this patch provides compile-time configuration options. - shortname-remove-suffix - shortname-replace-words Previously, PSU Sensor Names were stripped of some suffixes, some of which uniquely identified the sensor. e.g. "_Input_Voltage", "_Output_Voltage". Without the suffix, the sensor cannot be uniquely identified. Example: "PSU0_Input_Voltage", "PSU0_Output_Voltage" both become "PSU0". Tested: - with both configurations turned off, name is only trucated - with nothing configured, default config is applied and suffix is removed (current behavior) - word replacement enabled and suffix removal disabled: expected behavior - word replacement disabled and suffix removal enabled: expected behavior Change-Id: I01dd35f31e75df3c31733e9818884813a241440a Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
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