1 |
commit: 86bdb34e63e84402513f06dce459f331dfc31948 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 30 22:59:21 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 30 23:30:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86bdb34e |
7 |
|
8 |
sys-fs/cachefilesd: [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 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild | 2 ++ |
17 |
sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild | 2 ++ |
18 |
2 files changed, 4 insertions(+) |
19 |
|
20 |
diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild |
21 |
index 495532b754a..48fbad06a93 100644 |
22 |
--- a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild |
23 |
+++ b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild |
24 |
@@ -50,6 +50,8 @@ src_install() { |
25 |
} |
26 |
|
27 |
pkg_postinst() { |
28 |
+ tmpfiles_process ${PN}.conf |
29 |
+ |
30 |
[[ -d /var/cache/fscache ]] && return |
31 |
elog "Before CacheFiles can be used, a directory for local storage" |
32 |
elog "must be created. The default configuration of /etc/cachefilesd.conf" |
33 |
|
34 |
diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild |
35 |
index 27984303d16..849ad870b21 100644 |
36 |
--- a/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild |
37 |
+++ b/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild |
38 |
@@ -46,6 +46,8 @@ src_install() { |
39 |
} |
40 |
|
41 |
pkg_postinst() { |
42 |
+ tmpfiles_process ${PN}.conf |
43 |
+ |
44 |
[[ -d /var/cache/fscache ]] && return |
45 |
elog "Before CacheFiles can be used, a directory for local storage" |
46 |
elog "must be created. The default configuration of /etc/cachefilesd.conf" |