cyring / CoreFreq

CoreFreq : CPU monitoring and tuning software designed for 64-bit processors.
https://www.cyring.fr
GNU General Public License v2.0
1.97k stars 126 forks source link

[BUILD] dkms.conf : cleanup actions failure #499

Closed cyring closed 1 month ago

cyring commented 1 month ago

As reported in AUR case: dkms is failing to clean up the binaries when the Linux Kernel is upgrading

Issue is mitigated by removing the POST_REMOVE in dkms; next, reinstalling the CoreFreq from its AUR package

The POST_REMOVE CLEANUP and BINARIES should be substituted as bellow:

scripter.sh rm -f /bin/corefreqd /bin/corefreq-cli
cyring commented 1 month ago

@inglor Hello,

The PKGBUILD is installing the corefreqd and corefreq-cli binaries into directory /usr/bin/

The straightforward fix would be change the path in BINARIES as bellow

BINARIES="/usr/bin/corefreqd /usr/bin/corefreq-cli"

This required to do non regression tests on all other distribution packages

It already seems feasible with the other AUR package corefreq-git

cyring commented 1 month ago

All impacts seen so far:

dkms.conf

COMMAND="install -Dm 0755 -s -t /usr/bin"
BINARIES="/usr/bin/corefreqd /usr/bin/corefreq-cli"
cyring commented 1 month ago

Above changes are now part of archive v1.98.0