You are not logged in.
CyrIng - Your PKGBUILD is still not quite right. See here:
PKGBUILD: https://gist.github.com/graysky2/ffed1509e41753a693db
readme.install: https://gist.github.com/graysky2/4ed93205a716c08e613a
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
You should also have your service file load the module msr if it isn't loaded...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky: thanks a lot for your help
https://aur.archlinux.org/packages/xfreq-2.0-git is definitely the developpment release.
https://aur.archlinux.org/packages/xfreq-intel-git is a old package but I didn't find in AUR how to erase it ?
I will try your PKGBUILD and change the post_install() to display to the user the SystemD procedure.
About the msr, I will also mention in the readme that doing a modprobe is a prerequisite.
However I have recently gather the knowledge to build my own msr kernel module which should handle in one loop all the registers. This will be more accurate and will provide also a mean to read the kernel scheduler.
CyrIng
Offline
@graysky:
your PKGBUILD works like a charm.
I put it online as xfreq-2.0-git
Thank you.
For my information where does 55.7fe7aa8 come from ?
Offline
https://aur.archlinux.org/packages/xfreq-intel-git is a old package but I didn't find in AUR how to erase it ?
Email: aur-general@archlinux.org with the subject of "Delete request: xfreq-intel-git" and explain that you are the developer/package creator and accidentally made the entry.
For my information where does 55.7fe7aa8 come from ?
See the pkgver function.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
About the msr, I will also mention in the readme that doing a modprobe is a prerequisite.
Why not just add this line to your service file:
ExecStartPre=/usr/bin/modprobe msr
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
CyrIng wrote:For my information where does 55.7fe7aa8 come from ?
See the pkgver function.
echo $(git rev-list --count master).$(git rev-parse --short master)
Looks like graysky kept the pkgver() i had used.
Cyring, i wasn't sure if you used tags in git, so decided to use a simple pkgver with always works.
git rev-list --count master : returns the number of commits made to master
this allows easy updating / checking if you got latest version.
git rev-parse --short master : returns the (short) hash-tag of the latest commit
This is unique for every commit, so helps in troubleshooting to determine which commit caused trouble.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Clear;
Thanks Wolf
I'm not however familiar with git tags.
Last edited by CyrIng (2014-06-24 04:43:34)
Offline
Why not just add this line to your service file:
ExecStartPre=/usr/bin/modprobe msr
Your suggestion about letting the user dealing with the SystemD service is a good idea, so I will let him/her manage module the way he/she wants.
Last edited by CyrIng (2014-06-24 04:41:23)
Offline
Email: aur-general@archlinux.org with the subject of "Delete request: xfreq-intel-git" and explain that you are the developer/package creator and accidentally made the entry.
I got an answer that I'm not allowed to post to this mailing list, and your message has been automatically rejected ...
I wonder what's the process to manage of AUR own files (and what happen if many make bad entries)
Offline
You have to subscribe to the mailing list to post to it.
Online
Done.
Thanks
You have to subscribe to the mailing list to post to it.
Offline
I have added a new new feature to display the temperature per logical core.
Then I updated the git repo but when I do
yaourt xfreq-2.0-git
it is not marked as a new package (even if building of the new sources provides the last release)
What should I do ?
echo $(git rev-list --count master).$(git rev-parse --short master)
...
git rev-list --count master : returns the number of commits made to master
this allows easy updating / checking if you got latest version.git rev-parse --short master : returns the (short) hash-tag of the latest commit
This is unique for every commit, so helps in troubleshooting to determine which commit caused trouble.
Offline
I am not a fan of AUR helpers, so I don't know about how that one works. If you build with makepkg, And if the commit is different, building the package should update the PKGBUILD.
Last edited by graysky (2014-06-26 00:08:48)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline