summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-05 21:58:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-05 21:58:55 -0300
commit77c456461140eeabbf82c6aacf7c40a98939d8df (patch)
tree58288eb66b0e1b8a8dc6b459a4635af1000d89ce
parent4aea7e79b4621f6586add3f5ade140cb348e34b5 (diff)
downloadabslibre-77c456461140eeabbf82c6aacf7c40a98939d8df.tar.gz
abslibre-77c456461140eeabbf82c6aacf7c40a98939d8df.tar.bz2
abslibre-77c456461140eeabbf82c6aacf7c40a98939d8df.zip
linux-libre-tools-3.5-5: updating revision due issue report => https://bugs.archlinux.org/task/31355
-rw-r--r--libre/linux-libre-tools/PKGBUILD5
-rw-r--r--libre/linux-libre-tools/cpupower.pmutils37
2 files changed, 1 insertions, 41 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD
index dfcb95561..c1a1bf01d 100644
--- a/libre/linux-libre-tools/PKGBUILD
+++ b/libre/linux-libre-tools/PKGBUILD
@@ -8,7 +8,7 @@ _basekernel=3.5
#_sublevel=1
#pkgver=${_basekernel}.${_sublevel}
pkgver=${_basekernel}
-pkgrel=4
+pkgrel=5
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
url='http://linux-libre.fsfla.org/'
@@ -29,7 +29,6 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'cpupower.rc'
'cpupower.systemd'
'cpupower.service'
- 'cpupower.pmutils'
'usbipd.conf'
'usbipd.rc'
'usbipd.service')
@@ -120,8 +119,6 @@ package_cpupower-libre() {
install -Dm 644 cpupower.conf "$pkgdir/etc/conf.d/cpupower"
install -Dm 644 cpupower.service "$pkgdir/usr/lib/systemd/system/cpupower.service"
install -Dm 755 cpupower.systemd "$pkgdir/usr/lib/systemd/scripts/cpupower"
- # install pm-utils hook
- install -Dm 755 cpupower.pmutils "$pkgdir/usr/lib/pm-utils/power.d/cpupower"
}
package_x86_energy_perf_policy-libre() {
diff --git a/libre/linux-libre-tools/cpupower.pmutils b/libre/linux-libre-tools/cpupower.pmutils
deleted file mode 100644
index fb93cd7c1..000000000
--- a/libre/linux-libre-tools/cpupower.pmutils
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-[[ -x /usr/bin/cpupower ]] || exit $NA
-
-CPUPOWER_GOVERNOR_AC=${CPUPOWER_GOVERNOR_AC:-ondemand}
-CPUPOWER_GOVERNOR_BAT=${CPUPOWER_GOVERNOR_BAT:-conservative}
-
-help() {
- cat <<EOF
---------
-$0: Select cpupower frequency governor.
-
-Parameters:
-CPUPOWER_GOVERNOR_AC = Governor to use on AC.
-Defaults to ondemand.
-
-CPUPOWER_GOVERNOR_BAT = Governor to use on battery.
-Defaults to conservative.
-
-EOF
-}
-
-cpupow() {
- printf 'Setting cpupower frequency governor to %s...' "$1"
- cpupower -c all frequency-set -g "$1"
-}
-
-case $1 in
- true) cpupow "$CPUPOWER_GOVERNOR_BAT" ;;
- false) cpupow "$CPUPOWER_GOVERNOR_AC" ;;
- help) help;;
- *) exit $NA ;;
-esac
-
-exit 0
-
-# vim:set ts=2 sw=2 ft=sh et: