From b6679e3805d8a6a135dfba181d43593517ffe0b7 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 15 May 2024 09:04:08 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .gitignore | 2 +- .tuned.metadata | 2 +- SPECS/tuned.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 83 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 7d4ec36..7d0986a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tuned-2.20.0.tar.gz +SOURCES/tuned-2.22.1.tar.gz diff --git a/.tuned.metadata b/.tuned.metadata index 0e43617..f939654 100644 --- a/.tuned.metadata +++ b/.tuned.metadata @@ -1 +1 @@ -6a6c9a91ab1e556b884965432895cdf64ebd6016 SOURCES/tuned-2.20.0.tar.gz +60e206fe73ea537e64141f92b331f65879766f97 SOURCES/tuned-2.22.1.tar.gz diff --git a/SPECS/tuned.spec b/SPECS/tuned.spec index fb659f7..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.20.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 @@ -411,6 +420,7 @@ fi %exclude %{_prefix}/lib/tuned/spindown-disk %exclude %{_prefix}/lib/tuned/sap-netweaver %exclude %{_prefix}/lib/tuned/sap-hana +%exclude %{_prefix}/lib/tuned/sap-hana-kvm-guest %exclude %{_prefix}/lib/tuned/mssql %exclude %{_prefix}/lib/tuned/oracle %exclude %{_prefix}/lib/tuned/atomic-host @@ -435,7 +445,6 @@ fi %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/post_loaded_profile %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline -%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf %verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf %{_tmpfilesdir}/tuned.conf %{_unitdir}/tuned.service @@ -447,6 +456,7 @@ fi %{_mandir}/man8/tuned* %dir %{_datadir}/tuned %{_datadir}/tuned/grub2 +%{_datadir}/dbus-1/system.d/com.redhat.tuned.conf %{_datadir}/polkit-1/actions/com.redhat.tuned.policy %ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf %{_prefix}/lib/kernel/install.d/92-tuned.install @@ -486,6 +496,7 @@ fi %files profiles-sap-hana %{_prefix}/lib/tuned/sap-hana +%{_prefix}/lib/tuned/sap-hana-kvm-guest %{_mandir}/man7/tuned-profiles-sap-hana.7* %files profiles-mssql @@ -550,7 +561,72 @@ 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 + resolves: rhbz#2235637 + +* Sun Aug 20 2023 Jaroslav Škarvada - 2.21.0-0.1.rc1 +- new release + - rebased tuned to latest upstream + resolves: rhbz#2182117 + - plugin_scheduler: fix perf fd leaks + resolves: rhbz#2173938 + - allow skipping rollback when restarting TuneD or switching profile + resolves: rhbz#2203142 + - function_calc_isolated_cores: no errors for offline CPUs + resolves: rhbz#2217015 + * Fri Feb 17 2023 Jaroslav Škarvada - 2.20.0-1 - new release - rebased tuned to latest upstream