ipmitool/fwum_enhance_output.patch
Thomas Renninger 31281a73e0 - Added 3 services:
1) exchange-bmc-os-info - fate#315999
       Shows SLES string as OS in the service processor info
    2) bmc-snmp-proxy - fate#316000 
       Exports sel (BMC Error log) via snmpd
    3) ipmievd - fate#316002
       Logs sel to syslog
1. and 2. are very Dell specific and should not get enabled by default
3. got converted to a native systemd service. Still needs autoconf
   adjusting to get send mainline
1. and 2. have somewhat bigger Init V init scripts and time was not
   enough to convert them. Therefore they were added via insserv
   and friends as well

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=20
2014-02-17 15:39:37 +00:00

33 lines
1.2 KiB
Diff

Index: ipmitool-1.8.13/lib/ipmi_fwum.c
===================================================================
--- ipmitool-1.8.13.orig/lib/ipmi_fwum.c
+++ ipmitool-1.8.13/lib/ipmi_fwum.c
@@ -1102,12 +1102,14 @@ ipmi_kfwum_checkfwcompat(tKFWUM_BoardInf
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) {
@@ -1125,6 +1127,10 @@ printf_kfwum_info(tKFWUM_BoardInfo board
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,