archboot/usr/lib/initcpio/install/archboot_cpufreq
2022-02-05 12:09:39 +01:00

17 lines
354 B
Bash

#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_checked_modules 'arch/x86/kernel/cpu/cpufreq|drivers/cpufreq'
add_binary "cpupower"
add_binary "cpufreq-bench_plot.sh"
add_file "/etc/cpufreq-bench.conf"
}
help ()
{
cat<<HELPEOF
This hook includes cpupower tools on an archboot image.
HELPEOF
}