Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=a3c08c5f97215192247fdbf93dc6e405ed3186fe

commit a3c08c5f97215192247fdbf93dc6e405ed3186fe
Author: James Buren <[email protected]>
Date:   Mon Oct 15 11:10:16 2012 -0500

cpupower-3.6-1-x86_64
* rebuild with kernel 3.6
* drop modprobing code, all modules are autoloaded now
* drop old config for hardware drive module
* drop config options and handling for old cpu scheduling support that has been 
removed
* (this removal doesn't require any user config updates because they'll simply 
be ignored if the user ever enabled it in the first place)

diff --git a/source/apps/cpupower/FrugalBuild b/source/apps/cpupower/FrugalBuild
index b005c99..1c887bd 100644
--- a/source/apps/cpupower/FrugalBuild
+++ b/source/apps/cpupower/FrugalBuild
@@ -16,8 +16,8 @@ archs=('i686' 'x86_64')
up2date="$pkgver"
source=(cpupower cpupower.sh cpupower.service README.Frugalware)
backup=('etc/sysconfig/cpupower')
-sha1sums=('c01ab082299752f502be204363d39b7c5633144a' \
-          '32f804f34085c86fbd71d64d15a2764f2104229b' \
+sha1sums=('22d90e822bc7f30275cee36f72778f3bc39fe835' \
+          'c0e3df0ad1237ec8c58f1f7ff2f845255347baf1' \
'23f7cebcd39781b7a9080e22f404e3d6c6d926be' \
'2cd20c27689c4a63449214cf07cc51c066e3730a')
conflicts=('cpufrequtils')
@@ -30,6 +30,7 @@ build()
{
Fexec cp -rf /usr/src/linux-$_F_kernelver_ver-fw$_F_kernelver_rel . || Fdie
Fcd linux-$_F_kernelver_ver-fw$_F_kernelver_rel/tools/power/cpupower
+       chmod +x utils/version-gen.sh || Fdie
make clean || Fdie
Fsed '$(OPTIMIZATION) -fomit-frame-pointer' "$CFLAGS" Makefile
make DEBUG=false CPUFREQ_BENCH=false || Fdie
diff --git a/source/apps/cpupower/cpupower b/source/apps/cpupower/cpupower
index c7130ab..9980e88 100644
--- a/source/apps/cpupower/cpupower
+++ b/source/apps/cpupower/cpupower
@@ -1,6 +1,3 @@
-# Driver module to use for this computer's CPU.
-#driver="acpi-cpufreq"
-
# Scaling governor to use for this computer's CPU.
#governor="ondemand"

@@ -15,7 +12,3 @@

# Gives a hint to Intel processors about current powersaving policies.
#perf_bias=0
-
-# Changes scheduling policies for additional powersaving.
-#mc_scheduler=0
-#smp_scheduler=0
diff --git a/source/apps/cpupower/cpupower.sh b/source/apps/cpupower/cpupower.sh
index aeba4f7..33b094e 100644
--- a/source/apps/cpupower/cpupower.sh
+++ b/source/apps/cpupower/cpupower.sh
@@ -11,12 +11,7 @@ _add_option()
fi
}

-if test -n "$driver"; then
-       modprobe "$driver"
-fi
-
if test -n "$governor"; then
-       modprobe "cpufreq_$governor"
_add_option "--governor $governor"
fi

@@ -42,14 +37,6 @@ if test -n "$perf_bias"; then
_add_option "--perf-bias $perf_bias"
fi

-if test -n "$mc_scheduler"; then
-       _add_option "--sched-mc $mc_scheduler"
-fi
-
-if test -n "$smp_scheduler"; then
-       _add_option "--sched-smt $smp_scheduler"
-fi
-
if test -n "$_options"; then
/usr/bin/cpupower set $_options
fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to