summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-01-28 14:43:43 +0800
committerYixun Lan <dlan@gentoo.org>2021-01-28 14:45:31 +0800
commit39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643 (patch)
tree70437fabe9a4c09b4f578fafc8c49f7d14ad420c /sys-power
parentnet-fs/autofs: version bump 5.1.7 (diff)
downloadgentoo-39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643.tar.gz
gentoo-39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643.tar.bz2
gentoo-39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643.zip
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 <dlan@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/thermald/thermald-2.4.1-r1.ebuild (renamed from sys-power/thermald/thermald-2.4.1.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-power/thermald/thermald-2.4.1.ebuild b/sys-power/thermald/thermald-2.4.1-r1.ebuild
index 64693c99c353..2683a9652ea6 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
}