upgpkg: tuned 2.24.0-2

* Add wireless_tools as optional dependency
* Make tuned-ppd provide power-profiles-daemon
This commit is contained in:
Manuel 2024-10-09 22:44:18 +02:00
parent b80d5ed555
commit 5225061bed
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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')