From 39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Thu, 28 Jan 2021 14:43:43 +0800 Subject: [PATCH] sys-power/thermald: use wheel group for policy controlling thanks Thomas Deutschmann for the suggestion Closes: https://bugs.gentoo.org/755137 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Yixun Lan --- .../{thermald-2.4.1.ebuild => thermald-2.4.1-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename sys-power/thermald/{thermald-2.4.1.ebuild => thermald-2.4.1-r1.ebuild} (90%) diff --git a/sys-power/thermald/thermald-2.4.1.ebuild b/sys-power/thermald/thermald-2.4.1-r1.ebuild similarity index 90% rename from sys-power/thermald/thermald-2.4.1.ebuild rename to sys-power/thermald/thermald-2.4.1-r1.ebuild index 64693c99c353a..2683a9652ea64 100644 --- a/sys-power/thermald/thermald-2.4.1.ebuild +++ b/sys-power/thermald/thermald-2.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,9 @@ S=${WORKDIR}/thermal_daemon-${PV} DOCS=( thermal_daemon_usage.txt README.txt ) src_prepare() { + sed -i -e "/group=/s/power/wheel/g" \ + data/org.freedesktop.thermald.conf || die + default eautoreconf }