1 |
commit: 8f0e7b70246e039e50c9969723eff98495ca7e41 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 03:14:04 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 22:13:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0e7b70 |
7 |
|
8 |
app-laptop/laptop-mode-tools: [QA] call tmpfiles_process in pkg_postinst |
9 |
|
10 |
This is needed to actually apply the tmpfiles configuration |
11 |
we've installed in the ebuild. See tmpfiles.eclass documentation. |
12 |
|
13 |
Revbump because the new tmpfiles inherit adds a new dependency |
14 |
(virtual/tmpfiles). |
15 |
|
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
...de-tools-1.72.2-r1.ebuild => laptop-mode-tools-1.72.2-r2.ebuild} | 6 ++++-- |
19 |
1 file changed, 4 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild |
22 |
similarity index 95% |
23 |
rename from app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild |
24 |
rename to app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild |
25 |
index a9ae177ba5a..4b6591ed520 100644 |
26 |
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild |
27 |
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild |
28 |
@@ -1,9 +1,9 @@ |
29 |
-# Copyright 1999-2019 Gentoo Authors |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
EAPI=7 |
34 |
|
35 |
-inherit multilib systemd udev |
36 |
+inherit multilib systemd tmpfiles udev |
37 |
|
38 |
MY_P="${PN}_${PV}" |
39 |
|
40 |
@@ -66,6 +66,8 @@ src_install() { |
41 |
} |
42 |
|
43 |
pkg_postinst() { |
44 |
+ tmpfiles_process laptop-mode.conf |
45 |
+ |
46 |
if use acpi || use apm; then |
47 |
if use acpi; then |
48 |
daemon_name="acpid" |