Files
erofs-linux/tools/power
Francesco Poli (wintermute) e044b8a954 cpupower: split unitdir from libdir in Makefile
Improve the installation procedure for the systemd service unit
'cpupower.service', to be more flexible. Some distros install libraries
to /usr/lib64/, but systemd service units have to be installed to
/usr/lib/systemd/system: as a consequence, the installation procedure
should not assume that systemd service units can be installed to
${libdir}/systemd/system ...
Define a dedicated variable ("unitdir") in the Makefile.

Link: https://lore.kernel.org/linux-pm/[email protected]/T/#m0601940ab439d5cbd288819d2af190ce59e810e6

Fixes: 9c70b779ad ("cpupower: add a systemd service to run cpupower")

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Francesco Poli (wintermute) <[email protected]>
Tested-by: Thorsten Leemhuis <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
2025-06-09 10:17:46 -06:00
..
2025-05-12 15:38:43 +02:00