commit | 7adc5a10259086985077a7719c0d6e61d4d73a67 | [log] [tgz] |
---|---|---|
author | Hieu Huynh <hieuh@os.amperecomputing.com> | Tue Sep 21 12:04:51 2021 +0000 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Feb 24 00:53:31 2022 +0000 |
tree | 5cc86450f0550d2cf4fe85a030cb139de5060396 | |
parent | 818bea1f2aef6c5298f8b59490916c7250814747 [diff] |
Correct IPMI firmware revision report OpenBMC currently uses firmware revision from the VERSION parameters from /etc/os-release. While WebUI and Redfish uses entire string for the revision, IPMI extracts major and minor numbers from that string. However, phosphor-host-ipmd mistakenly converts the number to hexa-decimal which make the mismatch between Redfish and IPMI. This commit fixes the issue by updating the conversion to use decimal number. Tested: 1. Tag with v1.11.0001-ampere and check ipmitool mc info report firmware revision to 1.11 Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: I7340827dfc6de6664dde4b58e61197f81b4f89ca
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
.