Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=265f1c8c4c3ceba30f6870e27867cdf0d9e99092
commit 265f1c8c4c3ceba30f6870e27867cdf0d9e99092 Author: James Buren <r...@frugalware.org> Date: Sun Mar 18 08:29:07 2012 -0500 phc-1-2-x86_64 * add some info to README * fix systemd service (was starting too early) * fix start script returning the wrong exit code diff --git a/source/apps-extra/phc/FrugalBuild b/source/apps-extra/phc/FrugalBuild index eb8287d..e3c0859 100644 --- a/source/apps-extra/phc/FrugalBuild +++ b/source/apps-extra/phc/FrugalBuild @@ -3,7 +3,7 @@ pkgname=phc pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc="System scripts for phc modules." url="http://www.frugalware.org" depends=('pm-utils' 'cpupower') @@ -12,10 +12,10 @@ archs=('i686' 'x86_64') up2date="$pkgver" source=($pkgname{,.sh,.service,.sleep} README.Frugalware) sha1sums=('4fcc915c7cc23d23f96965888ca9f38e50b47fa3' \ - '8b218f834cfa75d3b8e6255212a2a1fcbcaeb020' \ - 'dff5344fd1f9072a4eb1d15fd51fc123a538dbd7' \ + 'f268279e7c6a20129fdc4198a7d462f166a3cd36' \ + 'ed363b687f755e8c974ba648ce1bf197f67cbd04' \ '95d9f4812a4aa44372a77a3a9756021d8e84519e' \ - '7cc146be5c25db6f1825814143975ef5385ec94e') + '3ac9c7c9411bb51865d985e8561f1625ca02c26b') backup=('etc/sysconfig/phc') _F_cd_path='.' _F_systemd_units="phc" diff --git a/source/apps-extra/phc/README.Frugalware b/source/apps-extra/phc/README.Frugalware index f333562..e13b24d 100644 --- a/source/apps-extra/phc/README.Frugalware +++ b/source/apps-extra/phc/README.Frugalware @@ -2,11 +2,15 @@ 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, it is recommended you use the `phc-optimizer` package to discover +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. -Next, you will want to enable the systemd service so your VIDs will be setup +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. ---- diff --git a/source/apps-extra/phc/phc.service b/source/apps-extra/phc/phc.service index 315cc51..5c0da06 100644 --- a/source/apps-extra/phc/phc.service +++ b/source/apps-extra/phc/phc.service @@ -1,6 +1,6 @@ [Unit] Description=Apply phc configuration -After=syslog.target +After=cpupower.service [Service] ExecStart=/usr/sbin/phc.sh set diff --git a/source/apps-extra/phc/phc.sh b/source/apps-extra/phc/phc.sh index b5ee06c..2bac724 100644 --- a/source/apps-extra/phc/phc.sh +++ b/source/apps-extra/phc/phc.sh @@ -12,6 +12,7 @@ set_vids() [ "$?" -ne "0" ] && exit 1 fi done + true } case $1 in _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git