Accepting request 1095578 from home:trenn:branches:Base:System
- Resurrect _service file and old git patch no versioning A _service A _servicedata A irqbalance.obsinfo - Update to version 1.9.2.24.git+184c950: * procinterrupts: fix initialisation of regex_t struct * Fix it so we actually stop when we hit an interrupt condition * Fix signedness of error handling * Revert "Fix CPU number condition in service file" * Issue 259: select NL_SKIP / NL_STOP based on error * fix CPU number condition in service file - Already included upstream: D irqbalance-systemd-netlink.patch OBS-URL: https://build.opensuse.org/request/show/1095578 OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=116
This commit is contained in:
parent
68ede54b3c
commit
bec31574e6
@ -2,11 +2,13 @@
|
|||||||
misc/irqbalance.service | 1 +
|
misc/irqbalance.service | 1 +
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
--- a/misc/irqbalance.service
|
Index: irqbalance-1.9.2.24.git+184c950/misc/irqbalance.service
|
||||||
+++ b/misc/irqbalance.service
|
===================================================================
|
||||||
@@ -14,6 +14,7 @@
|
--- irqbalance-1.9.2.24.git+184c950.orig/misc/irqbalance.service
|
||||||
|
+++ irqbalance-1.9.2.24.git+184c950/misc/irqbalance.service
|
||||||
|
@@ -13,6 +13,7 @@ ReadOnlyPaths=/
|
||||||
ReadWritePaths=/proc/irq
|
ReadWritePaths=/proc/irq
|
||||||
RestrictAddressFamilies=AF_UNIX
|
RestrictAddressFamilies=AF_UNIX AF_NETLINK
|
||||||
RuntimeDirectory=irqbalance/
|
RuntimeDirectory=irqbalance/
|
||||||
+LimitNOFILE=4096
|
+LimitNOFILE=4096
|
||||||
|
|
||||||
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="localonly">
|
||||||
|
<param name="url">https://github.com/Irqbalance/irqbalance.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.git+%h</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="localonly"/>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/Irqbalance/irqbalance.git</param>
|
||||||
|
<param name="changesrevision">184c95029ebff84d499fc8ea88a906ff9460bf15</param></service></servicedata>
|
BIN
irqbalance-1.9.2.24.git+184c950.obscpio
(Stored with Git LFS)
Normal file
BIN
irqbalance-1.9.2.24.git+184c950.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
irqbalance-1.9.2.tar.gz
(Stored with Git LFS)
BIN
irqbalance-1.9.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,28 +0,0 @@
|
|||||||
From efec4c69157d17024c4d9194a63eb834efcd79b9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Dirk=20M=C3=BCller?= <dirk@dmllr.de>
|
|
||||||
Date: Fri, 11 Nov 2022 10:38:19 +0100
|
|
||||||
Subject: [PATCH] allow AF_NETLINK in the systemd service restrictions
|
|
||||||
|
|
||||||
AF_NETLINK is needed for communicating with the thermald daemon,
|
|
||||||
without that the start up logs a warning
|
|
||||||
|
|
||||||
thermal: socket bind failed, thermald may not be running.
|
|
||||||
|
|
||||||
because systemd prevents access to NETLINK.
|
|
||||||
---
|
|
||||||
misc/irqbalance.service | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: irqbalance-1.9.2/misc/irqbalance.service
|
|
||||||
===================================================================
|
|
||||||
--- irqbalance-1.9.2.orig/misc/irqbalance.service
|
|
||||||
+++ irqbalance-1.9.2/misc/irqbalance.service
|
|
||||||
@@ -11,7 +11,7 @@ EnvironmentFile=-/path/to/irqbalance.env
|
|
||||||
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
|
|
||||||
ReadOnlyPaths=/
|
|
||||||
ReadWritePaths=/proc/irq
|
|
||||||
-RestrictAddressFamilies=AF_UNIX
|
|
||||||
+RestrictAddressFamilies=AF_UNIX AF_NETLINK
|
|
||||||
RuntimeDirectory=irqbalance/
|
|
||||||
LimitNOFILE=4096
|
|
||||||
|
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 20:33:50 UTC 2023 - trenn@suse.de
|
||||||
|
|
||||||
|
- Resurrect _service file and old git patch no versioning
|
||||||
|
A _service
|
||||||
|
A _servicedata
|
||||||
|
A irqbalance.obsinfo
|
||||||
|
- Update to version 1.9.2.24.git+184c950:
|
||||||
|
* procinterrupts: fix initialisation of regex_t struct
|
||||||
|
* Fix it so we actually stop when we hit an interrupt condition
|
||||||
|
* Fix signedness of error handling
|
||||||
|
* Revert "Fix CPU number condition in service file"
|
||||||
|
* Issue 259: select NL_SKIP / NL_STOP based on error
|
||||||
|
* fix CPU number condition in service file
|
||||||
|
- Already included upstream:
|
||||||
|
D irqbalance-systemd-netlink.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 16 12:38:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Fri Dec 16 12:38:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
4
irqbalance.obsinfo
Normal file
4
irqbalance.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: irqbalance
|
||||||
|
version: 1.9.2.24.git+184c950
|
||||||
|
mtime: 1681933912
|
||||||
|
commit: 184c95029ebff84d499fc8ea88a906ff9460bf15
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package irqbalance
|
# spec file for package irqbalance
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,29 +21,28 @@
|
|||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 1.9.2
|
Version: 1.9.2.24.git+184c950
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Daemon to balance IRQs on SMP machines
|
Summary: Daemon to balance IRQs on SMP machines
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
URL: https://github.com/Irqbalance/irqbalance
|
URL: https://github.com/Irqbalance/irqbalance
|
||||||
Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
#Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source3: sysconfig.irqbalance
|
Source3: sysconfig.irqbalance
|
||||||
Patch1: Set-fd-limit.patch
|
Patch1: Set-fd-limit.patch
|
||||||
# PATCH-FIX-UPSTREAM: https://github.com/Irqbalance/irqbalance/pull/250
|
|
||||||
Patch2: irqbalance-systemd-netlink.patch
|
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
%ifarch x86_64 %{?x86_64}
|
|
||||||
BuildRequires: pkgconfig(libnl-3.0)
|
|
||||||
%endif
|
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Recommends: %{name}-ui
|
Recommends: %{name}-ui
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
|
%ifarch x86_64 %{?x86_64}
|
||||||
|
BuildRequires: pkgconfig(libnl-3.0)
|
||||||
|
%endif
|
||||||
%ifnarch %{arm}
|
%ifnarch %{arm}
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user