new release:

- audio plugin: fixed error handling in _get_timeout
  - removed cpupower dependency, added sysfs fallback
  - powertop2tuned: fixed parser crash on binary garbage
    resolves: rhbz#914933
  - cpu plugin: dropped multicore_powersave as kernel upstream already did
  - plugins: options manipulated by dynamic tuning are now correctly saved and restored
  - powertop2tuned: added alias -e for --enable option
  - powertop2tuned: new option -m, --merge-profile to select profile to merge
  - prefer transparent_hugepage over redhat_transparent_hugepage
  - recommend: use recommend.conf not autodetect.conf
  - tuned.service: switched to dbus type service
    resolves: rhbz#911445
  - tuned: new option --pid, -P to write PID file
  - tuned, tuned-adm: added new option --version, -v to show version
  - disk plugin: use APM value 254 for cleanup / APM disable instead of 255
    resolves: rhbz#905195
  - tuned: new option --log, -l to select log file
  - powertop2tuned: avoid circular deps in include (one level check only)
  - powertop2tuned: do not crash if powertop is not installed
  - net plugin: added support for wake_on_lan static tuning
    resolves: rhbz#885504
  - loader: fixed error handling
  - spec: used systemd-rpm macros
    resolves: rhbz#850347
This commit is contained in:
Jaroslav Škarvada 2013-03-01 12:20:24 +01:00
parent b35c6735b3
commit b3409b9d45
2 changed files with 40 additions and 21 deletions

View File

@ -1 +1 @@
79834e783da494817bf081fb541c9890 tuned-2.2.0.tar.bz2 23535f08a5429470210f0e5de1a5c138 tuned-2.2.1.tar.bz2

View File

@ -1,17 +1,17 @@
Summary: A dynamic adaptive system tuning daemon Summary: A dynamic adaptive system tuning daemon
Name: tuned Name: tuned
Version: 2.2.0 Version: 2.2.1
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2 Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
URL: https://fedorahosted.org/tuned/ URL: https://fedorahosted.org/tuned/
BuildArch: noarch BuildArch: noarch
BuildRequires: python, systemd-units BuildRequires: python, systemd
Requires(post): systemd-units, virt-what Requires(post): systemd, virt-what
Requires(preun): systemd-units Requires(preun): systemd
Requires(postun): systemd-units Requires(postun): systemd
Requires: python-decorator, dbus-python, pygobject2, python-pyudev, /usr/bin/cpupower Requires: python-decorator, dbus-python, pygobject2, python-pyudev
Requires: virt-what, python-configobj Requires: virt-what, python-configobj, ethtool
%description %description
The tuned package contains a daemon that tunes system settings dynamically. The tuned package contains a daemon that tunes system settings dynamically.
@ -23,6 +23,7 @@ network and ATA harddisk devices are implemented.
%package utils %package utils
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Summary: Various tuned utilities Summary: Various tuned utilities
Requires: powertop
%description utils %description utils
This package contains utilities that can help you to fine tune your This package contains utilities that can help you to fine tune your
@ -60,10 +61,7 @@ make install DESTDIR=%{buildroot}
%post %post
# initial instalation %systemd_post tuned.service
if [ $1 -eq 1 ]; then
/usr/bin/systemctl daemon-reload &>/dev/null || :
fi
# try to autodetect the best profile for the system in case there is none preset # try to autodetect the best profile for the system in case there is none preset
if [ ! -f /etc/tuned/active_profile -o -z "`cat /etc/tuned/active_profile 2>/dev/null`" ] if [ ! -f /etc/tuned/active_profile -o -z "`cat /etc/tuned/active_profile 2>/dev/null`" ]
@ -76,19 +74,13 @@ fi
# convert active_profile from full path to name (if needed) # convert active_profile from full path to name (if needed)
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%preun %preun
# package removal, not upgrade %systemd_preun tuned.service
if [ $1 -eq 0 ]; then
/usr/bin/systemctl --no-reload disable tuned.service &>/dev/null || :
/usr/bin/systemctl stop tuned.service &>/dev/null || :
fi
%postun %postun
# package upgrade, not uninstall %systemd_postun_with_restart tuned.service
if [ $1 -ge 1 ]; then
/usr/bin/systemctl try-restart tuned.service &>/dev/null || :
fi
%triggerun -- tuned < 2.0-0 %triggerun -- tuned < 2.0-0
@ -155,6 +147,33 @@ fi
%{_prefix}/lib/tuned/spindown-disk %{_prefix}/lib/tuned/spindown-disk
%changelog %changelog
* Fri Mar 1 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.1-1
- new release:
- audio plugin: fixed error handling in _get_timeout
- removed cpupower dependency, added sysfs fallback
- powertop2tuned: fixed parser crash on binary garbage
resolves: rhbz#914933
- cpu plugin: dropped multicore_powersave as kernel upstream already did
- plugins: options manipulated by dynamic tuning are now correctly saved and restored
- powertop2tuned: added alias -e for --enable option
- powertop2tuned: new option -m, --merge-profile to select profile to merge
- prefer transparent_hugepage over redhat_transparent_hugepage
- recommend: use recommend.conf not autodetect.conf
- tuned.service: switched to dbus type service
resolves: rhbz#911445
- tuned: new option --pid, -P to write PID file
- tuned, tuned-adm: added new option --version, -v to show version
- disk plugin: use APM value 254 for cleanup / APM disable instead of 255
resolves: rhbz#905195
- tuned: new option --log, -l to select log file
- powertop2tuned: avoid circular deps in include (one level check only)
- powertop2tuned: do not crash if powertop is not installed
- net plugin: added support for wake_on_lan static tuning
resolves: rhbz#885504
- loader: fixed error handling
- spec: used systemd-rpm macros
resolves: rhbz#850347
* Mon Jan 28 2013 Jan Vcelak <jvcelak@redhat.com> 2.2.0-1 * Mon Jan 28 2013 Jan Vcelak <jvcelak@redhat.com> 2.2.0-1
- new release: - new release:
- remove nobarrier from virtual-guest (data loss prevention) - remove nobarrier from virtual-guest (data loss prevention)