From 5225061beda85a87afc24f5d89125176bb3e2624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 9 Oct 2024 22:44:18 +0200 Subject: [PATCH] upgpkg: tuned 2.24.0-2 * Add wireless_tools as optional dependency * Make tuned-ppd provide power-profiles-daemon --- tuned/.SRCINFO | 4 +++- tuned/PKGBUILD | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tuned/.SRCINFO b/tuned/.SRCINFO index 67444b9..c946156 100644 --- a/tuned/.SRCINFO +++ b/tuned/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.24.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned arch = any license = GPL-2.0-or-later @@ -25,6 +25,7 @@ pkgname = tuned optdepends = virt-what: virtual machine detection optdepends = systemtap: detailed system monitoring optdepends = tuned-ppd: power-profiles-daemon api translation + optdepends = wireless_tools: wireless device power management backup = etc/tuned/active_profile backup = etc/tuned/bootcmdline backup = etc/tuned/cpu-partitioning-powersave-variables.conf @@ -39,6 +40,7 @@ pkgname = tuned pkgname = tuned-ppd pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) depends = tuned + provides = power-profiles-daemon conflicts = power-profiles-daemon options = !emptydirs backup = etc/tuned/ppd.conf diff --git a/tuned/PKGBUILD b/tuned/PKGBUILD index cd7f9f6..0b74b94 100644 --- a/tuned/PKGBUILD +++ b/tuned/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=tuned pkgname=("${pkgbase}" "${pkgbase}-ppd") pkgver=2.24.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgbase}" @@ -28,7 +28,8 @@ prepare() { package_tuned() { optdepends=('virt-what: virtual machine detection' 'systemtap: detailed system monitoring' - 'tuned-ppd: power-profiles-daemon api translation') + 'tuned-ppd: power-profiles-daemon api translation' + 'wireless_tools: wireless device power management') backup=('etc/tuned/active_profile' 'etc/tuned/bootcmdline' 'etc/tuned/cpu-partitioning-powersave-variables.conf' @@ -53,6 +54,7 @@ package_tuned() { package_tuned-ppd() { pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' depends=('tuned') + provides=('power-profiles-daemon') conflicts=('power-profiles-daemon') backup=('etc/tuned/ppd.conf') options=('!emptydirs')