summaryrefslogtreecommitdiff
path: root/sys-power/thermald/thermald-2.5.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/thermald/thermald-2.5.2.ebuild')
-rw-r--r--sys-power/thermald/thermald-2.5.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-power/thermald/thermald-2.5.2.ebuild b/sys-power/thermald/thermald-2.5.2.ebuild
index b5ef42067b32..a4a0727b15bf 100644
--- a/sys-power/thermald/thermald-2.5.2.ebuild
+++ b/sys-power/thermald/thermald-2.5.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools out-of-source systemd
+inherit autotools linux-info out-of-source systemd
DESCRIPTION="Thermal daemon for Intel architectures"
HOMEPAGE="https://github.com/intel/thermal_daemon"
@@ -28,6 +28,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/thermal_daemon-${PV}
DOCS=( thermal_daemon_usage.txt README.txt )
+CONFIG_CHECK="~PERF_EVENTS_INTEL_RAPL ~X86_INTEL_PSTATE ~INTEL_POWERCLAMP ~INT340X_THERMAL ~ACPI_THERMAL_REL ~INT3406_THERMAL"
+
src_prepare() {
sed -i -e "/group=/s/power/wheel/g" \
data/org.freedesktop.thermald.conf || die