From 0119e19726e24e3dbc7b149ff96ae10c613f5643 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 28 Mar 2024 11:57:49 +0000 Subject: [PATCH] import CS tuned-2.22.1-1.el9 --- .gitignore | 2 +- .tuned.metadata | 2 +- SPECS/tuned.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 64 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a30bf5b..7d0986a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tuned-2.21.0.tar.gz +SOURCES/tuned-2.22.1.tar.gz diff --git a/.tuned.metadata b/.tuned.metadata index 8a29916..f939654 100644 --- a/.tuned.metadata +++ b/.tuned.metadata @@ -1 +1 @@ -586db5263ea7dabcc57e24aceb249d397d7d0239 SOURCES/tuned-2.21.0.tar.gz +60e206fe73ea537e64141f92b331f65879766f97 SOURCES/tuned-2.22.1.tar.gz diff --git a/SPECS/tuned.spec b/SPECS/tuned.spec index 129ba8f..74c0b88 100644 --- a/SPECS/tuned.spec +++ b/SPECS/tuned.spec @@ -34,7 +34,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 2.21.0 +Version: 2.22.1 Release: 1%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz @@ -256,6 +256,17 @@ Requires: %{name} = %{version} %description profiles-openshift Additional TuneD profile(s) optimized for OpenShift. +%package ppd +Summary: PPD compatibility daemon +Requires: %{name} = %{version} +# The compatibility daemon is swappable for power-profiles-daemon +Provides: ppd-service +Conflicts: ppd-service + +%description ppd +An API translation daemon that allows applications to easily transition +to TuneD from power-profiles-daemon (PPD). + %prep %autosetup -p1 -n %{name}-%{version}%{?prerel2} @@ -272,9 +283,7 @@ make html %{make_python_arg} %install make install DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} -%if 0%{?rhel} -sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf -%endif +make install-ppd DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} %if ! 0%{?rhel} # manual @@ -552,7 +561,56 @@ fi %{_prefix}/lib/tuned/openshift-node %{_mandir}/man7/tuned-profiles-openshift.7* +%files ppd +%{_sbindir}/tuned-ppd +%{_unitdir}/tuned-ppd.service +%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service +%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf +%{_datadir}/polkit-1/actions/net.hadess.PowerProfiles.policy +%config(noreplace) %{_sysconfdir}/tuned/ppd.conf + %changelog +* Thu Feb 22 2024 Jaroslav Škarvada - 2.22.1-1 +- new release + - rebased tuned to latest upstream + related: RHEL-17121 + - renamed intel_uncore plugin to uncore + - network-throughput: increased net.ipv4.tcp_rmem default value + resolves: RHEL-25847 + +* Fri Feb 16 2024 Jaroslav Škarvada - 2.22.0-1 +- new release + - rebased tuned to latest upstream + related: RHEL-17121 + +* Fri Feb 9 2024 Jaroslav Škarvada - 2.22.0-0.1.rc1 +- new release + - rebased tuned to latest upstream + resolves: RHEL-17121 + - print all arguments of failing commands in error messages + resolves: RHEL-3689 + - plugin_sysctl: added support for sysctl names with slash + resolves: RHEL-3707 + - tuned-adm: added support for moving devices between plugin instances + resolves: RHEL-15141 + - api: added methods for retrieval of plugin instances and devices + resolves: RHEL-15137 + - plugin_cpu: amd-pstate mentioned instead of just intel_pstate + resolves: RHEL-16469 + - hotplug: do not report ENOENT errors on device remove + resolves: RHEL-11342 + - plugin_sysctl: expand variables when reporting overrides + resolves: RHEL-18972 + - plugin_acpi: new plugin which handles ACPI platform_profile + resolves: RHEL-16966 + - plugin_bootloader: skip calling rpm-ostree kargs in no-op case + resolves: RHEL-20767 + - plugin_cpu: support cstate settings of pm_qos_resume_latency_us + resolves: RHEL-21129 + - scheduler: add option for ignoring IRQs affinity + resolves: RHEL-21923 + - plugin_intel_uncore: new plugin for uncore setting + * Tue Aug 29 2023 Jaroslav Škarvada - 2.21.0-1 - new release - api: fixed stop method not to require any parameter