From 60a54498292991ce8722b89bb68d4acc39ade980c6ebe43b9e6a765d78417eb6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 28 Feb 2023 19:47:22 +0000 Subject: [PATCH] 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 --- ...r-messages-on-non-dell-platforms-112.patch | 26 +++++++++++++++++++ ledmon.changes | 6 +++++ ledmon.spec | 3 ++- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch diff --git a/0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch b/0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch new file mode 100644 index 0000000..6150e57 --- /dev/null +++ b/0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch @@ -0,0 +1,26 @@ +From bd78c563daa6df17ad442d10127526f5450fd06b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kinga=20Ta=C5=84ska?= +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 +--- + 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 + diff --git a/ledmon.changes b/ledmon.changes index 5223eb8..89954ae 100644 --- a/ledmon.changes +++ b/ledmon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 28 02:07:16 UTC 2023 - Nicholas Yang + +- 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 diff --git a/ledmon.spec b/ledmon.spec index ca626ea..dfa9e01 100644 --- a/ledmon.spec +++ b/ledmon.spec @@ -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