From 52885b9d968c52460e518fdfd8d4da638cb96ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 9 Feb 2024 23:51:22 +0100 Subject: [PATCH] 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 --- sources | 2 +- tuned.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 53 insertions(+), 5 deletions(-) diff --git a/sources b/sources index 5a586c2..044cebb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tuned-2.21.0.tar.gz) = f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0 +SHA512 (tuned-2.22.0-rc.1.tar.gz) = a86c83f8e266285d346d82c12bca1afbe20ce4a6177a8cacbba244091dc153a1cb090bde4e8f876bfc7015034106b4dbcbab7032e91fa6bfba7ef62fc54af0b4 diff --git a/tuned.spec b/tuned.spec index 129ba8f..6a9784c 100644 --- a/tuned.spec +++ b/tuned.spec @@ -26,16 +26,16 @@ %endif %endif -#%%global prerelease rc -#%%global prereleasenum 1 +%global prerelease rc +%global prereleasenum 1 %global prerel1 %{?prerelease:.%{prerelease}%{prereleasenum}} %global prerel2 %{?prerelease:-%{prerelease}.%{prereleasenum}} Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 2.21.0 -Release: 1%{?prerel1}%{?dist} +Version: 2.22.0 +Release: 0.1%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz # RHEL-9 specific recommend.conf: @@ -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,6 +283,7 @@ make html %{make_python_arg} %install make install DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} +make install-ppd 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 @@ -552,7 +564,43 @@ 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 +* 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