- Add disable C-state capability and support for latest Haswell CPUs
OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=26
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: cpupower
|
||||
Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
|
||||
# Use this as version when things are in mainline kernel
|
||||
@@ -28,7 +29,11 @@ License: GPL-2.0
|
||||
Group: System/Base
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: cpupower_export_tarball_from_git.sh
|
||||
Patch1: cpupower-haswell_support.patch
|
||||
Patch1: cpupower_make_get_idlestate_count_unsigned.patch
|
||||
Patch2: cpupower_disable_cstates.patch
|
||||
Patch3: introduce_cpupower_idle_set.patch
|
||||
Patch4: cpupower-haswell_support.patch
|
||||
Patch5: cpupower_hsw_special.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gettext-tools
|
||||
BuildRequires: pciutils
|
||||
@@ -74,6 +79,10 @@ powersave module.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
# This package failed when testing with -Wl,-as-needed being default.
|
||||
|
Reference in New Issue
Block a user