Auto sync2gitlab import of irqbalance-1.9.0-4.el8.src.rpm
This commit is contained in:
parent
1704ee449b
commit
c2190d1ecb
@ -0,0 +1,34 @@
|
|||||||
|
From 188f9efc567bcaef25bde2813cdee7f952f992f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pat Riehecky <riehecky@fnal.gov>
|
||||||
|
Date: Mon, 4 Apr 2022 08:38:32 -0500
|
||||||
|
Subject: [rhel-only PATCH] revert Confine irqbalance to systems where it is useful.
|
||||||
|
|
||||||
|
ConditionCPUs only available from systemd(>=242), however the systemd
|
||||||
|
version for rhel8 is 239. So we need to revert the patch, otherwise we
|
||||||
|
will encounter the failing:
|
||||||
|
|
||||||
|
$ sudo systemd-analyze verify irqbalance.service
|
||||||
|
/usr/lib/systemd/system/irqbalance.service:6: Unknown lvalue
|
||||||
|
'ConditionCPUs' in section 'Unit'
|
||||||
|
|
||||||
|
This patch revert 188f9efc567bcaef25bde2813cdee7f952f992f9.
|
||||||
|
|
||||||
|
---
|
||||||
|
misc/irqbalance.service | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/misc/irqbalance.service b/misc/irqbalance.service
|
||||||
|
index fcc29c2..0f79c3e 100644
|
||||||
|
--- a/misc/irqbalance.service
|
||||||
|
+++ b/misc/irqbalance.service
|
||||||
|
@@ -3,7 +3,6 @@ Description=irqbalance daemon
|
||||||
|
Documentation=man:irqbalance(1)
|
||||||
|
Documentation=https://github.com/Irqbalance/irqbalance
|
||||||
|
ConditionVirtualization=!container
|
||||||
|
-ConditionCPUs=>1
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 1.9.0
|
Version: 1.9.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: IRQ balancing daemon
|
Summary: IRQ balancing daemon
|
||||||
|
|
||||||
@ -39,6 +39,7 @@ Patch13: 0012-irqbalance-ui-support-scroll-under-tui-mode-of-irqba.patch
|
|||||||
Patch14: 0013-irqbalance-ui-print-cpulist-in-SETUP-IRQS.patch
|
Patch14: 0013-irqbalance-ui-print-cpulist-in-SETUP-IRQS.patch
|
||||||
Patch15: 0014-Improve-documentation-and-logging-for-banned-cpus.patch
|
Patch15: 0014-Improve-documentation-and-logging-for-banned-cpus.patch
|
||||||
Patch16: 0001-irqbalance-ui-skip-in-parse_setup-to-avoid-coredump.patch
|
Patch16: 0001-irqbalance-ui-skip-in-parse_setup-to-avoid-coredump.patch
|
||||||
|
Patch17: 0001-revert-Confine-irqbalance-to-systems-where-it-is-useful.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
irqbalance is a daemon that evenly distributes IRQ load across
|
irqbalance is a daemon that evenly distributes IRQ load across
|
||||||
@ -62,6 +63,7 @@ multiple CPUs for enhanced performance.
|
|||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch16 -p1
|
%patch16 -p1
|
||||||
|
%patch17 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -104,6 +106,9 @@ fi
|
|||||||
/sbin/chkconfig --del irqbalance >/dev/null 2>&1 || :
|
/sbin/chkconfig --del irqbalance >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 19 2022 Tao Liu <ltao@redhat.com> - 2:1.9.0-4
|
||||||
|
- revert Confine irqbalance to systems where it is useful (bz2115230)
|
||||||
|
|
||||||
* Tue Jul 19 2022 Tao Liu <ltao@redhat.com> - 2:1.9.0-3
|
* Tue Jul 19 2022 Tao Liu <ltao@redhat.com> - 2:1.9.0-3
|
||||||
- Rebase to latest upstream commit (c8d1fff0f1)
|
- Rebase to latest upstream commit (c8d1fff0f1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user