diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
commit | d0f33415f254cb2fee06fd89f9cfed4535322f37 (patch) | |
tree | 66c13d72eac4f0110772b4675231c891334137bc /libre/linux-libre-tools | |
parent | 7e108c74958ec076a3734822f61f145d0d69547f (diff) |
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'libre/linux-libre-tools')
-rw-r--r-- | libre/linux-libre-tools/01-fix-perf-python.patch | 12 | ||||
-rw-r--r-- | libre/linux-libre-tools/cpupower.default | 29 | ||||
-rw-r--r-- | libre/linux-libre-tools/cpupower.install | 13 | ||||
-rw-r--r-- | libre/linux-libre-tools/cpupower.service | 10 | ||||
-rw-r--r-- | libre/linux-libre-tools/cpupower.systemd | 32 | ||||
-rw-r--r-- | libre/linux-libre-tools/usbipd.service | 9 |
6 files changed, 0 insertions, 105 deletions
diff --git a/libre/linux-libre-tools/01-fix-perf-python.patch b/libre/linux-libre-tools/01-fix-perf-python.patch deleted file mode 100644 index d46bd773c..000000000 --- a/libre/linux-libre-tools/01-fix-perf-python.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/tools/perf/config/feature-checks/Makefile 2014-01-21 01:58:25.444339009 +0100 -+++ b/tools/perf/config/feature-checks/Makefile 2014-01-21 01:46:58.081780576 +0100 -@@ -103,9 +103,6 @@ - test-libperl: - $(BUILD) $(FLAGS_PERL_EMBED) - --override PYTHON := python --override PYTHON_CONFIG := python-config -- - escape-for-shell-sq = $(subst ','\'',$(1)) - shell-sq = '$(escape-for-shell-sq)' - diff --git a/libre/linux-libre-tools/cpupower.default b/libre/linux-libre-tools/cpupower.default deleted file mode 100644 index b5c522ea1..000000000 --- a/libre/linux-libre-tools/cpupower.default +++ /dev/null @@ -1,29 +0,0 @@ -# Define CPUs governor -# valid governors: ondemand, performance, powersave, conservative, userspace. -#governor='ondemand' - -# Limit frequency range -# Valid suffixes: Hz, kHz (default), MHz, GHz, THz -#min_freq="2.25GHz" -#max_freq="3GHz" - -# Specific frequency to be set. -# Requires userspace governor to be available. -# Do not set governor field if you use this one. -#freq= - -# Utilizes cores in one processor package/socket first before processes are -# scheduled to other processor packages/sockets. -# See man (1) CPUPOWER-SET for additional details. -#mc_scheduler= - -# Utilizes thread siblings of one processor core first before processes are -# scheduled to other cores. See man (1) CPUPOWER-SET for additional details. -#smp_scheduler= - -# Sets a register on supported Intel processore which allows software to convey -# its policy for the relative importance of performance versus energy savings to -# the processor. See man (1) CPUPOWER-SET for additional details. -#perf_bias= - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/libre/linux-libre-tools/cpupower.install b/libre/linux-libre-tools/cpupower.install deleted file mode 100644 index 10e07ae52..000000000 --- a/libre/linux-libre-tools/cpupower.install +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - if [ "$(vercmp $2 3.7-4)" -le 0 ]; then - cat << EOF -===> cpupower startup config file moved to /etc/default/cpupower -EOF - fi -} - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/libre/linux-libre-tools/cpupower.service b/libre/linux-libre-tools/cpupower.service deleted file mode 100644 index aaeba2b08..000000000 --- a/libre/linux-libre-tools/cpupower.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Apply cpupower configuration - -[Service] -Type=oneshot -ExecStart=/usr/lib/systemd/scripts/cpupower -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/libre/linux-libre-tools/cpupower.systemd b/libre/linux-libre-tools/cpupower.systemd deleted file mode 100644 index 51c645415..000000000 --- a/libre/linux-libre-tools/cpupower.systemd +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -. /etc/default/cpupower - -declare -i fail=0 - -# parse frequency options -declare -a params=() -params+=(${governor:+-g $governor}) -params+=(${min_freq:+-d $min_freq}) -params+=(${max_freq:+-u $max_freq}) -params+=(${freq:+-f $freq}) - -# apply frequency options -if ((${#params[@]} > 0)); then - cpupower frequency-set "${params[@]}" >/dev/null || fail=1 -fi - -# parse cpu options -declare -a params=() -params+=(${mc_scheduler:+-m $mc_scheduler}) -params+=(${smp_scheduler:+-s $smp_scheduler}) -params+=(${perf_bias:+-b $perf_bias}) - -# apply cpu options -if ((${#params[@]} > 0)); then - cpupower set "${params[@]}" >/dev/null || fail=1 -fi - -exit $fail - -# vim:set ts=2 sw=2 ft=sh et: diff --git a/libre/linux-libre-tools/usbipd.service b/libre/linux-libre-tools/usbipd.service deleted file mode 100644 index 1807e94b1..000000000 --- a/libre/linux-libre-tools/usbipd.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=USB/IP server -After=network.target - -[Service] -ExecStart=/usr/bin/usbipd - -[Install] -WantedBy=multi-user.target |