1 |
commit: 39d72d192dd5b47fdabcb44d6c5bd2cdec5ac643 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 28 06:43:43 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 28 06:45:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d72d19 |
7 |
|
8 |
sys-power/thermald: use wheel group for policy controlling |
9 |
|
10 |
thanks Thomas Deutschmann for the suggestion |
11 |
Closes: https://bugs.gentoo.org/755137 |
12 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
13 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
14 |
|
15 |
.../thermald/{thermald-2.4.1.ebuild => thermald-2.4.1-r1.ebuild} | 5 ++++- |
16 |
1 file changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sys-power/thermald/thermald-2.4.1.ebuild b/sys-power/thermald/thermald-2.4.1-r1.ebuild |
19 |
similarity index 90% |
20 |
rename from sys-power/thermald/thermald-2.4.1.ebuild |
21 |
rename to sys-power/thermald/thermald-2.4.1-r1.ebuild |
22 |
index 64693c99c35..2683a9652ea 100644 |
23 |
--- a/sys-power/thermald/thermald-2.4.1.ebuild |
24 |
+++ b/sys-power/thermald/thermald-2.4.1-r1.ebuild |
25 |
@@ -1,4 +1,4 @@ |
26 |
-# Copyright 1999-2020 Gentoo Authors |
27 |
+# Copyright 1999-2021 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=7 |
31 |
@@ -29,6 +29,9 @@ S=${WORKDIR}/thermal_daemon-${PV} |
32 |
DOCS=( thermal_daemon_usage.txt README.txt ) |
33 |
|
34 |
src_prepare() { |
35 |
+ sed -i -e "/group=/s/power/wheel/g" \ |
36 |
+ data/org.freedesktop.thermald.conf || die |
37 |
+ |
38 |
default |
39 |
eautoreconf |
40 |
} |