]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpupower: do not write DESTDIR to cpupower.service
authorFrancesco Poli (wintermute) <invernomuto@paranoici.org>
Tue, 13 May 2025 16:29:31 +0000 (18:29 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 13 May 2025 22:06:12 +0000 (16:06 -0600)
commit2a0eaa78ff4aa09d3a70f4bdcff13f5efe0f5861
treec4207b8d0c2c1475eaa32ce3cc9b37df1c46485e
parent99d2fce9b44dec6d270b85a7d28cdc99aaa93da6
cpupower: do not write DESTDIR to cpupower.service

Fix the use of DESTDIR variable in the Makefile, as far as the
installation of the systemd service unit 'cpupower.service' is
concerned.

This was caused by a misunderstanding about the purpose of the DESTDIR
variable in the Makefile, which is instead meant to support staged
installations: its value should not end up into installed file contents.

Link: https://lore.kernel.org/linux-pm/20250509002206.bd2519ba52035d47c3c32aa6@paranoici.org/T/#mfbb938f9c0d5a21173acb92a061eb9205fd0abfe
Link: https://www.gnu.org/prep/standards/html_node/DESTDIR.html
Link: https://lore.kernel.org/r/20250513163937.61062-3-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