From b220c81a4940aa05bb07e9be05c6532096cabc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Fri, 13 Oct 2017 14:32:01 +0200 Subject: [PATCH] new release rebased tuned to latest upstream resolves: rhbz#1467576 added recommend.d functionality resolves: rhbz#1459146 recommend: added support for matching of processes resolves: rhbz#1461838 plugin_video: added support for the 'dpm' power method resolves: rhbz#1417659 list available profiles on 'tuned-adm profile' resolves: rhbz#988433 cpu-partitioning: used tuned instead of tuna for cores isolation resolves: rhbz#1442229 inventory: added workaround for pyudev < 0.18 resolves: rhbz#1251240 realtime: used skew_tick=1 in kernel cmdline resolves: rhbz#1447938 realtime-virtual-guest: re-assigned kernel thread priorities resolves: rhbz#1452357 bootloader: splitted string for removal from cmdline resolves: rhbz#1461279 network-latency: added skew_tick=1 kernel command line parameter resolves: rhbz#1451073 bootloader: accepted only certain values for initrd_remove_dir resolves: rhbz#1455161 increased udev monitor buffer size, made it configurable resolves: rhbz#1442306 bootloader: don't add nonexistent overlay image to grub.cfg resolves: rhbz#1454340 plugin_cpu: don't log error in execute() if EPB is not supported resolves: rhbz#1443182 sap-hana: fixed description of the sap-hana profiles resolves: rhbz#1482005 plugin_systemd: on full_rollback notify about need of initrd regeneration resolves: rhbz#1469258 don't log errors about missing files on verify with ignore_missing set resolves: rhbz#1451435 plugin_scheduler: improved logging resolves: rhbz#1474961 improved checking if we are rebooting or not resolves: rhbz#1475571 started dbus exports after a profile is applied resolves: rhbz#1443142 sap-hana: changed force_latency to 70 resolves: rhbz#1501252 --- .gitignore | 1 + sources | 2 +- tuned.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 62 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 52fa229..e06ad2e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ tuned-*.tar.bz2 +/tuned-2.9.0.rc1.tar.gz diff --git a/sources b/sources index cd47889..41e7230 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tuned-2.8.0.tar.bz2) = 079d82485a45b6999435284f612723c8406cace0d5416db235dde904df0a37865def6f1150c6662688d79b4703ff1d6e90c9cc103f602ffbd52a77a9613a6aa3 +SHA512 (tuned-2.9.0.rc1.tar.gz) = a97a5c71a127d4a8875539d1bb447904bf71b4ceef48663d8904e7dd32d1ffb27e35ea7cb6e474986d13fe8b1d1c89028356dd452f6991d910da29865b6ae29b diff --git a/tuned.spec b/tuned.spec index 90a206c..2c39348 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,9 +1,15 @@ +%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.8.0 -Release: 5%{?dist} +Version: 2.9.0 +Release: 0.1%{?prerel1}%{?dist} License: GPLv2+ -Source: https://jskarvad.fedorapeople.org/tuned/download/tuned-%{version}.tar.bz2 +Source: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel1}.tar.gz URL: http://www.tuned-project.org/ BuildArch: noarch BuildRequires: python, systemd, desktop-file-utils @@ -17,8 +23,6 @@ Requires: python-schedutils %if 0%{?fedora} > 22 || 0%{?rhel} > 7 Recommends: kernel-tools %endif -# patch taken from upstream (issue #59) -Patch0: tuned-2.8.0-plugin-disk-traceback-fix.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -132,7 +136,6 @@ Additional tuned profile(s) targeted to Network Function Virtualization (NFV). %package profiles-cpu-partitioning Summary: Additional tuned profile(s) optimized for CPU partitioning Requires: %{name} = %{version} -Requires: tuna %description profiles-cpu-partitioning Additional tuned profile(s) optimized for CPU partitioning. @@ -146,8 +149,7 @@ Additional tuned profiles mainly for backward compatibility with tuned 1.0. It can be also used to fine tune your system for specific scenarios. %prep -%setup -q -%patch0 -p1 +%setup -q -n %{name}-%{version}%{?prerel2} %build @@ -256,6 +258,7 @@ fi %exclude %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf %exclude %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf %exclude %{_sysconfdir}/tuned/cpu-partitioning-variables.conf +%exclude %{_sysconfdir}/tuned/sap-hana-vmware-variables.conf %exclude %{_prefix}/lib/tuned/default %exclude %{_prefix}/lib/tuned/desktop-powersave %exclude %{_prefix}/lib/tuned/laptop-ac-powersave @@ -278,6 +281,7 @@ fi %dir %{_libexecdir}/tuned %{_libexecdir}/tuned/defirqaffinity* %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/profile_mode %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 @@ -330,6 +334,7 @@ fi %files profiles-sap-hana %defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/tuned/sap-hana-vmware-variables.conf %{_prefix}/lib/tuned/sap-hana %{_prefix}/lib/tuned/sap-hana-vmware %{_mandir}/man7/tuned-profiles-sap-hana.7* @@ -385,6 +390,53 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Thu Oct 12 2017 Jaroslav Škarvada - 2.9.0-0.1.rc1 +- new release + - rebased tuned to latest upstream + resolves: rhbz#1467576 + - added recommend.d functionality + resolves: rhbz#1459146 + - recommend: added support for matching of processes + resolves: rhbz#1461838 + - plugin_video: added support for the 'dpm' power method + resolves: rhbz#1417659 + - list available profiles on 'tuned-adm profile' + resolves: rhbz#988433 + - cpu-partitioning: used tuned instead of tuna for cores isolation + resolves: rhbz#1442229 + - inventory: added workaround for pyudev < 0.18 + resolves: rhbz#1251240 + - realtime: used skew_tick=1 in kernel cmdline + resolves: rhbz#1447938 + - realtime-virtual-guest: re-assigned kernel thread priorities + resolves: rhbz#1452357 + - bootloader: splitted string for removal from cmdline + resolves: rhbz#1461279 + - network-latency: added skew_tick=1 kernel command line parameter + resolves: rhbz#1451073 + - bootloader: accepted only certain values for initrd_remove_dir + resolves: rhbz#1455161 + - increased udev monitor buffer size, made it configurable + resolves: rhbz#1442306 + - bootloader: don't add nonexistent overlay image to grub.cfg + resolves: rhbz#1454340 + - plugin_cpu: don't log error in execute() if EPB is not supported + resolves: rhbz#1443182 + - sap-hana: fixed description of the sap-hana profiles + resolves: rhbz#1482005 + - plugin_systemd: on full_rollback notify about need of initrd regeneration + resolves: rhbz#1469258 + - don't log errors about missing files on verify with ignore_missing set + resolves: rhbz#1451435 + - plugin_scheduler: improved logging + resolves: rhbz#1474961 + - improved checking if we are rebooting or not + resolves: rhbz#1475571 + - started dbus exports after a profile is applied + resolves: rhbz#1443142 + - sap-hana: changed force_latency to 70 + resolves: rhbz#1501252 + * Mon Aug 21 2017 Jaroslav Škarvada - 2.8.0-5 - kernel-tools made weak dependency