Accepting request 1068083 from home:nicholasyang:branches:Base:System

- add a patch to fix bsc#1208613
  * 0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch

OBS-URL: https://build.opensuse.org/request/show/1068083
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=45
This commit is contained in:
Dirk Mueller 2023-02-28 19:47:22 +00:00 committed by Git OBS Bridge
parent 862a77460a
commit 60a5449829
3 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From bd78c563daa6df17ad442d10127526f5450fd06b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kinga=20Ta=C5=84ska?= <kinga.tanska@intel.com>
Date: Thu, 17 Nov 2022 15:55:06 +0100
Subject: [PATCH] ipmi: avoid error messages on non-dell platforms (#112)
Signed-off-by: Kinga Tanska <kinga.tanska@intel.com>
---
src/ipmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipmi.c b/src/ipmi.c
index 3862840..d7d9e89 100644
--- a/src/ipmi.c
+++ b/src/ipmi.c
@@ -126,7 +126,7 @@ int ipmicmd(int sa, int lun, int netfn, int cmd, int datalen, void *data,
goto end;
}
if (rcv.msg.data[0])
- log_info("IPMI Error: %.2x\n", rcv.msg.data[0]);
+ log_debug("IPMI Error: %.2x\n", rcv.msg.data[0]);
rc = 0;
*rlen = rcv.msg.data_len - 1;
memcpy(resp, rcv.msg.data + 1, *rlen);
--
2.39.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 28 02:07:16 UTC 2023 - Nicholas Yang <nicholas.yang@suse.com>
- add a patch to fix bsc#1208613
* 0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch
-------------------------------------------------------------------
Mon Jul 18 15:09:00 UTC 2022 - Heming Zhao <heming.zhao@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ledmon
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,6 +27,7 @@ Source0: https://github.com/intel/ledmon/archive/%{version}.tar.gz#/%{nam
Patch0: harden_ledmon.service.patch
Patch1: 0001-Ledctl-slots-management-94.patch
Patch2: 0002-add-Dell-15G-servers.patch
Patch3: 0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libsgutils-devel