]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpupower: do not install files to /etc/default/
authorFrancesco Poli (wintermute) <invernomuto@paranoici.org>
Tue, 13 May 2025 16:29:33 +0000 (18:29 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 13 May 2025 22:06:28 +0000 (16:06 -0600)
commite5174365c13246ed8fd2d40900edec37be6f7a34
treea4e343b35e430eb62acd19cd1d6bce0f6d63bb29
parent4edef850a15c761039a50c119dbc8769b08ca45b
cpupower: do not install files to /etc/default/

Improve the installation procedure for the systemd service unit
'cpupower.service', to be more distro-agnostic. Do not install the
service unit configuration file to /etc/default/ (a directory that
is used by Debian and Debian-derivatives and only rarely by other
distros).

Also, clarify the role of the configuration file in its own comments.

Link: https://lore.kernel.org/linux-pm/20250509002206.bd2519ba52035d47c3c32aa6@paranoici.org/T/#ma8a3fa80acc4036af6c754e8ecabacc55b288ad1
Link: https://lore.kernel.org/r/20250513163937.61062-5-invernomuto@paranoici.org
Fixes: 9c70b779ad91 ("cpupower: add a systemd service to run cpupower")
Signed-off-by: Francesco Poli (wintermute) <invernomuto@paranoici.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/Makefile
tools/power/cpupower/README
tools/power/cpupower/cpupower-service.conf [moved from tools/power/cpupower/cpupower.default with 67% similarity]
tools/power/cpupower/cpupower.service.in