From e423efaf324014413e26578434f2f9e1cab138ac97b15eb7ec35c05df13864a3 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 28 Apr 2017 15:49:22 +0000 Subject: [PATCH] Accepting request 491880 from home:trenn:branches:systemsmanagement - Lower prio of message from error to debug (bsc#948540) A hpm_x_compatibility_msg_is_debug_only.patch OBS-URL: https://build.opensuse.org/request/show/491880 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=43 --- hpm_x_compatibility_msg_is_debug_only.patch | 17 +++++++++++++++++ ipmitool.changes | 6 ++++++ ipmitool.spec | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 hpm_x_compatibility_msg_is_debug_only.patch diff --git a/hpm_x_compatibility_msg_is_debug_only.patch b/hpm_x_compatibility_msg_is_debug_only.patch new file mode 100644 index 0000000..ae26ea8 --- /dev/null +++ b/hpm_x_compatibility_msg_is_debug_only.patch @@ -0,0 +1,17 @@ +Signed-off-by: Thomas Renninger + +bsc#948540 + +Index: ipmitool-1.8.15/lib/hpm2.c +=================================================================== +--- ipmitool-1.8.15.orig/lib/hpm2.c 2015-11-24 14:07:57.250760494 +0100 ++++ ipmitool-1.8.15/lib/hpm2.c 2015-11-24 14:09:02.590470690 +0100 +@@ -93,7 +93,7 @@ int hpm2_get_capabilities(struct ipmi_in + lprintf(LOG_DEBUG, "IPM Controller is not HPM.2 compatible"); + return rsp->ccode; + } else if (rsp->ccode) { +- lprintf(LOG_NOTICE, "Get HPM.x Capabilities request failed," ++ lprintf(LOG_DEBUG, "Get HPM.x Capabilities request failed," + " compcode = %x", rsp->ccode); + return rsp->ccode; + } diff --git a/ipmitool.changes b/ipmitool.changes index 36d64df..b4b4928 100644 --- a/ipmitool.changes +++ b/ipmitool.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 28 15:22:39 UTC 2017 - trenn@suse.de + +- Lower prio of message from error to debug (bsc#948540) +A hpm_x_compatibility_msg_is_debug_only.patch + ------------------------------------------------------------------- Tue Mar 28 16:41:02 UTC 2017 - trenn@suse.de diff --git a/ipmitool.spec b/ipmitool.spec index 5ad1d78..aaa8feb 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -49,6 +49,7 @@ Patch100: fwum_enhance_output.patch Patch101: fix_file_permissions.patch Patch102: several_more_compile_fixes.patch Patch103: ipmitool_adjust_suse.paths +Patch104: hpm_x_compatibility_msg_is_debug_only.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -94,6 +95,7 @@ and setting LAN configuration, and chassis power control. %patch101 -p1 %patch102 -p1 %patch103 -p1 +%patch104 -p1 %build touch INSTALL NEWS