Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4befa952ae053473f65565a577768be802b3684c
commit 4befa952ae053473f65565a577768be802b3684c Author: James Buren <[email protected]> Date: Sat Nov 10 06:22:52 2012 -0600 phc-2-1-x86_64 * remove package diff --git a/source/apps-extra/phc/FrugalBuild b/source/apps-extra/phc/FrugalBuild deleted file mode 100644 index 471a52f..0000000 --- a/source/apps-extra/phc/FrugalBuild +++ /dev/null @@ -1,31 +0,0 @@ -# Compiling Time: 0 SBU -# Maintainer: James Buren <[email protected]> - -pkgname=phc -pkgver=2 -pkgrel=1 -pkgdesc="System scripts for phc modules." -url="http://www.frugalware.org" -rodepends=('pm-utils' 'cpupower') -groups=('apps-extra') -archs=('i686' 'x86_64') -up2date="$pkgver" -source=($pkgname{,.sh,.service,.sleep} README.Frugalware) -sha1sums=('4fcc915c7cc23d23f96965888ca9f38e50b47fa3' \ - 'f268279e7c6a20129fdc4198a7d462f166a3cd36' \ - 'ed363b687f755e8c974ba648ce1bf197f67cbd04' \ - '95d9f4812a4aa44372a77a3a9756021d8e84519e' \ - '3ac9c7c9411bb51865d985e8561f1625ca02c26b') -backup=('etc/sysconfig/phc') -_F_cd_path='.' -_F_systemd_units=(phc=) -Finclude systemd - -build() -{ - Ffile /etc/sysconfig/$pkgname - Fexe /usr/sbin/$pkgname.sh - Ffile /lib/systemd/system/$pkgname.service - Fexe $pkgname.sleep /usr/lib/pm-utils/sleep.d/96$pkgname - Fgenscriptlet -} diff --git a/source/apps-extra/phc/README.Frugalware b/source/apps-extra/phc/README.Frugalware deleted file mode 100644 index e13b24d..0000000 --- a/source/apps-extra/phc/README.Frugalware +++ /dev/null @@ -1,23 +0,0 @@ -Before using this package, it is recommended that you setup the `cpupower` -package so that you can get the maximum benefit from this package. After -you have done this, come back to this documentation. - -First, install either `phc-intel` or `phc-k8` packages so that you will -have hardware support for this. You may have to reboot for these modules -to be loaded properly. - -Next, it is recommended you use the `phc-optimizer` package to discover -your unique set of VIDs to use on your hardware. Place these values in the -file `/etc/sysconfig/phc` within the variable VIDS. - -Now, you will want to enable the systemd service so your VIDs will be setup -upon each reboot. Use this command to do this and start it now. - ----- -systemctl enable phc.service -systemctl start phc.service ----- - -And you're done. In the event of system instability, you will want to try -tweaking the VIDs by raising them until you find the setting your system -can remain stable at. diff --git a/source/apps-extra/phc/phc b/source/apps-extra/phc/phc deleted file mode 100644 index 07769e1..0000000 --- a/source/apps-extra/phc/phc +++ /dev/null @@ -1,2 +0,0 @@ -# Set this to the value of the VIDs you wish to use. Example: 44 29 19 -VIDS="" diff --git a/source/apps-extra/phc/phc.service b/source/apps-extra/phc/phc.service deleted file mode 100644 index 5c0da06..0000000 --- a/source/apps-extra/phc/phc.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Apply phc configuration -After=cpupower.service - -[Service] -ExecStart=/usr/sbin/phc.sh set -ExecStop=/usr/sbin/phc.sh reset -Type=oneshot -StandardOutput=syslog -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/source/apps-extra/phc/phc.sh b/source/apps-extra/phc/phc.sh deleted file mode 100644 index 2bac724..0000000 --- a/source/apps-extra/phc/phc.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -. /etc/sysconfig/phc - -[ -z "$VIDS" -o -z "$1" ] && exit 1 - -set_vids() -{ - for i in /sys/devices/system/cpu/cpu*/cpufreq/phc_vids; do - if [ -f "$i" ]; then - echo "$1" > "$i" - [ "$?" -ne "0" ] && exit 1 - fi - done - true -} - -case $1 in - set) - set_vids "$VIDS" - ;; - reset) - [ -f "/sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids" ] || exit 1 - set_vids "$(< /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids)" - ;; -esac diff --git a/source/apps-extra/phc/phc.sleep b/source/apps-extra/phc/phc.sleep deleted file mode 100644 index e21972f..0000000 --- a/source/apps-extra/phc/phc.sleep +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -case $1 in - resume|thaw) - /usr/sbin/phc.sh set - ;; - *) - ;; -esac _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
