SHA256
1
0
forked from pool/ipmitool
ipmitool/fwum_enhance_output.patch
Thomas Renninger 63ed82d084 Accepting request 281420 from home:trenn:branches:systemsmanagement
- Update to latest ipmitool sources.
  This is version 1.8.15 (git tag: IPMITOOL_1_8_15) plus mainline patches up
  to commit 708be8bc450f907cddb6d9e4b83aee6ba67b7d04
  Date:   Fri Jan 9 12:48:35 2015 +0100

OBS-URL: https://build.opensuse.org/request/show/281420
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=28
2015-01-15 15:15:51 +00:00

33 lines
1.1 KiB
Diff

Index: ipmitool-1.8.15/lib/ipmi_fwum.c
===================================================================
--- ipmitool-1.8.15.orig/lib/ipmi_fwum.c 2015-01-14 14:28:25.108693872 +0100
+++ ipmitool-1.8.15/lib/ipmi_fwum.c 2015-01-14 14:28:27.080693904 +0100
@@ -1099,12 +1099,14 @@
int compatible = 0;
if (boardInfo.iana != firmInfo.iana) {
lprintf(LOG_ERR,
- "Board IANA does not match firmware IANA.");
+ "Board IANA [%u] does not match firmware IANA [%u]\n",
+ boardInfo.iana, firmInfo.iana);
compatible = (-1);
}
if (boardInfo.boardId != firmInfo.boardId) {
lprintf(LOG_ERR,
- "Board IANA does not match firmware IANA.");
+ "Board ID [%u] does not match firmware board ID [%u]\n",
+ boardInfo.boardId, firmInfo.boardId);
compatible = (-1);
}
if (compatible != 0) {
@@ -1122,6 +1124,10 @@
printf(
"Target IANA number : %u\n", boardInfo.iana);
printf(
+"FW File Board Id : %u\n",firmInfo.boardId);
+ printf(
+"FW File IANA number : %u\n",firmInfo.iana);
+ printf(
"File Size : %lu bytes\n", firmInfo.fileSize);
printf(
"Firmware Version : %d.%d%d SDR %d\n", firmInfo.versMajor,