mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/irqbalance to 1.5.0-1
This commit is contained in:
parent
f961209ce4
commit
37caef4249
2 changed files with 13 additions and 31 deletions
|
@ -3,24 +3,21 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - removed dependency on numactl
|
||||
# - upstream patch for AArch64
|
||||
|
||||
pkgname=irqbalance
|
||||
pkgver=1.3.0
|
||||
pkgrel=2.1
|
||||
pkgver=1.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="IRQ balancing daemon for SMP systems"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/Irqbalance/irqbalance"
|
||||
license=('GPL')
|
||||
backup=('etc/irqbalance.env')
|
||||
depends=('glib2' 'libcap-ng' 'libsystemd')
|
||||
depends=('glib2' 'libcap-ng' 'systemd-libs')
|
||||
makedepends=('systemd')
|
||||
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
|
||||
config.patch
|
||||
https://github.com/Irqbalance/irqbalance/commit/d88f69c09f5517655272a3ab10e7f86b3d7e99f4.patch)
|
||||
sha1sums=('2797747812d65fcfa83d7e3610857e6326df933a'
|
||||
'f5750dd9b53ef77c3dcb46ea70622c6c4d462888'
|
||||
'dbe6e900d0addfd500016caa42867780c3c50513')
|
||||
config.patch)
|
||||
sha1sums=('bb8c786b1aae73679016ae0bbbb7c7dbc488be64'
|
||||
'32e5650f37c64531e69f477959b0c3598acc2825')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
|
|
@ -1,22 +1,7 @@
|
|||
diff --git a/configure.ac b/configure.ac
|
||||
index 38a1bee..5e9cc03 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -53,9 +53,6 @@ AC_ARG_WITH([systemd],
|
||||
AS_IF(
|
||||
[test "x$with_systemd" = xyes], [
|
||||
PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [journal_lib=yes], [journal_lib=no])
|
||||
- AS_IF([test "x$journal_lib" != "xyes"], [
|
||||
- PKG_CHECK_MODULES([SYSTEMD], [libsystemd-journal], [journal_lib=yes])
|
||||
- ])
|
||||
AC_DEFINE(HAVE_LIBSYSTEMD, 1, [systemd support])
|
||||
AC_CHECK_LIB([systemd], [sd_journal_print_with_location])
|
||||
AC_CHECK_LIB([systemd], [sd_journal_print])
|
||||
diff --git a/misc/irqbalance.service b/misc/irqbalance.service
|
||||
index e9a5527..a8451d9 100644
|
||||
--- a/misc/irqbalance.service
|
||||
+++ b/misc/irqbalance.service
|
||||
@@ -3,8 +3,8 @@ Description=irqbalance daemon
|
||||
diff -aur irqbalance-1.5.0/misc/irqbalance.service irqbalance-1.5.0.new/misc/irqbalance.service
|
||||
--- irqbalance-1.5.0/misc/irqbalance.service 2018-10-27 11:36:59.000000000 +0200
|
||||
+++ irqbalance-1.5.0.new/misc/irqbalance.service 2019-02-19 21:49:12.093453013 +0100
|
||||
@@ -5,8 +5,8 @@
|
||||
ConditionVirtualization=!container
|
||||
|
||||
[Service]
|
||||
|
@ -24,6 +9,6 @@ index e9a5527..a8451d9 100644
|
|||
-ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
|
||||
+EnvironmentFile=/etc/irqbalance.env
|
||||
+ExecStart=/usr/bin/irqbalance --foreground $IRQBALANCE_ARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
CapabilityBoundingSet=
|
||||
NoNewPrivileges=yes
|
||||
ReadOnlyPaths=/
|
||||
|
|
Loading…
Reference in a new issue