]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpupower: make systemd unit installation optional
authorJoão Marcos Costa <joaomarcos.costa@bootlin.com>
Tue, 13 Jan 2026 13:27:53 +0000 (14:27 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 16 Jan 2026 20:41:26 +0000 (13:41 -0700)
commit7799ba2160e4919913ecabca8a7fc1aa4c576fb4
tree8d32cfe3e6afbf47b22541266627cf1b67e6789c
parentff72619e11348ab189e232c59515dd5c33780d7c
cpupower: make systemd unit installation optional

cpupower currently installs a cpupower.service unit file into unitdir
unconditionally, regardless of whether systemd is used by the host.

Improve the installation procedure by making this systemd step optional:
a 'SYSTEMD' build parameter that defaults to 'true' and can be set to
'false' to disable the installation of systemd's unit file.

Since 'SYSTEMD' defaults to true, the current behavior is kept as the
default.

Link: https://lore.kernel.org/r/20260113132753.1730020-2-joaomarcos.costa@bootlin.com
Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/Makefile