SHA256
1
0
forked from pool/ipmitool
ipmitool/0001-Enhance-fwum-output.patch
Klaus Kämpf 42f6b48b25 - clean up patches
rename fwum_enhance_output.patch
   to 0001-Enhance-fwum-output.patch
  rename fix_file_permissions.patch
   to 0002-Fix-file-permissions.patch
  rename several_more_compile_fixes.patch
   to 0003-Cleanup-and-compiler-issues-only-no-functional-chang.patch
  rename ipmitool_adjust_suse_paths.patch
   to 0004-Adjust-SUSE-paths.patch
  rename hpm_x_compatibility_msg_is_debug_only.patch
   to 0005-HPM-x-compatibility-message-is-DEBUG-only.patch
  rename autotools_define_DOWNLOAD.diff
   to 0006-Make-IANA-PEN-download-configurable-fix-uninitalized.patch

- Update to version 1.8.18+git20200916.1245aaa387dc:
  * fru: Fix crashes on 6-bit ASCII strings
  * Refix 6e037d6bfbbb93b349c8ca331ebde03a837f76bf
  * oem: Add product ID for YADRO VEGMAN
  * configure.ac: add '--location' for curl to follow location
  * configure.ac: replace '-#' by '--progress-bar' with curl
  * log: refix 16f937a1: Add missing header changes
  * Add version info to debug output
  * doc, ci: Fix an error in package name for Windows
  * doc: Fix a small typo in INSTALL
  * RPM support: updated spec file changelog

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=53
2020-09-23 07:51:43 +00:00

45 lines
1.5 KiB
Diff

From 9d1b55b396007558288a9807ef269141c6aeac25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Wed, 23 Sep 2020 09:35:23 +0200
Subject: [PATCH 1/6] Enhance fwum output
---
lib/ipmi_fwum.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/ipmi_fwum.c b/lib/ipmi_fwum.c
index b01c5458d974..ba97da3ae266 100644
--- a/lib/ipmi_fwum.c
+++ b/lib/ipmi_fwum.c
@@ -1098,12 +1098,14 @@ ipmi_kfwum_checkfwcompat(tKFWUM_BoardInfo boardInfo,
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) {
@@ -1121,6 +1123,10 @@ printf_kfwum_info(tKFWUM_BoardInfo boardInfo, tKFWUM_InFirmwareInfo firmInfo)
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,
--
2.26.0