Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 09:04:08 +00:00
parent b39e6566b0
commit b6679e3805
3 changed files with 83 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/tuned-2.20.0.tar.gz SOURCES/tuned-2.22.1.tar.gz

View File

@ -1 +1 @@
6a6c9a91ab1e556b884965432895cdf64ebd6016 SOURCES/tuned-2.20.0.tar.gz 60e206fe73ea537e64141f92b331f65879766f97 SOURCES/tuned-2.22.1.tar.gz

View File

@ -34,7 +34,7 @@
Summary: A dynamic adaptive system tuning daemon Summary: A dynamic adaptive system tuning daemon
Name: tuned Name: tuned
Version: 2.20.0 Version: 2.22.1
Release: 1%{?prerel1}%{?dist} Release: 1%{?prerel1}%{?dist}
License: GPLv2+ License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz 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 %description profiles-openshift
Additional TuneD profile(s) optimized for 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 %prep
%autosetup -p1 -n %{name}-%{version}%{?prerel2} %autosetup -p1 -n %{name}-%{version}%{?prerel2}
@ -272,9 +283,7 @@ make html %{make_python_arg}
%install %install
make install DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} make install DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg}
%if 0%{?rhel} make install-ppd DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg}
sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf
%endif
%if ! 0%{?rhel} %if ! 0%{?rhel}
# manual # manual
@ -411,6 +420,7 @@ fi
%exclude %{_prefix}/lib/tuned/spindown-disk %exclude %{_prefix}/lib/tuned/spindown-disk
%exclude %{_prefix}/lib/tuned/sap-netweaver %exclude %{_prefix}/lib/tuned/sap-netweaver
%exclude %{_prefix}/lib/tuned/sap-hana %exclude %{_prefix}/lib/tuned/sap-hana
%exclude %{_prefix}/lib/tuned/sap-hana-kvm-guest
%exclude %{_prefix}/lib/tuned/mssql %exclude %{_prefix}/lib/tuned/mssql
%exclude %{_prefix}/lib/tuned/oracle %exclude %{_prefix}/lib/tuned/oracle
%exclude %{_prefix}/lib/tuned/atomic-host %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) %verify(not size mtime md5) %{_sysconfdir}/tuned/post_loaded_profile
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline %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 %verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf
%{_tmpfilesdir}/tuned.conf %{_tmpfilesdir}/tuned.conf
%{_unitdir}/tuned.service %{_unitdir}/tuned.service
@ -447,6 +456,7 @@ fi
%{_mandir}/man8/tuned* %{_mandir}/man8/tuned*
%dir %{_datadir}/tuned %dir %{_datadir}/tuned
%{_datadir}/tuned/grub2 %{_datadir}/tuned/grub2
%{_datadir}/dbus-1/system.d/com.redhat.tuned.conf
%{_datadir}/polkit-1/actions/com.redhat.tuned.policy %{_datadir}/polkit-1/actions/com.redhat.tuned.policy
%ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf %ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf
%{_prefix}/lib/kernel/install.d/92-tuned.install %{_prefix}/lib/kernel/install.d/92-tuned.install
@ -486,6 +496,7 @@ fi
%files profiles-sap-hana %files profiles-sap-hana
%{_prefix}/lib/tuned/sap-hana %{_prefix}/lib/tuned/sap-hana
%{_prefix}/lib/tuned/sap-hana-kvm-guest
%{_mandir}/man7/tuned-profiles-sap-hana.7* %{_mandir}/man7/tuned-profiles-sap-hana.7*
%files profiles-mssql %files profiles-mssql
@ -550,7 +561,72 @@ fi
%{_prefix}/lib/tuned/openshift-node %{_prefix}/lib/tuned/openshift-node
%{_mandir}/man7/tuned-profiles-openshift.7* %{_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 %changelog
* Thu Feb 22 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 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 <jskarvad@redhat.com> - 2.22.0-1
- new release
- rebased tuned to latest upstream
related: RHEL-17121
* Fri Feb 9 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 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 <jskarvad@redhat.com> - 2.21.0-1
- new release
- api: fixed stop method not to require any parameter
resolves: rhbz#2235637
* Sun Aug 20 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 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 <jskarvad@redhat.com> - 2.20.0-1 * Fri Feb 17 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20.0-1
- new release - new release
- rebased tuned to latest upstream - rebased tuned to latest upstream