commit: 86bdb34e63e84402513f06dce459f331dfc31948 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jul 30 22:59:21 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 30 23:30:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86bdb34e
sys-fs/cachefilesd: [QA] call tmpfiles_process in pkg_postinst This is needed to actually apply the tmpfiles configuration we've installed in the ebuild. See tmpfiles.eclass documentation. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild | 2 ++ sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild index 495532b754a..48fbad06a93 100644 --- a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild +++ b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild @@ -50,6 +50,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process ${PN}.conf + [[ -d /var/cache/fscache ]] && return elog "Before CacheFiles can be used, a directory for local storage" elog "must be created. The default configuration of /etc/cachefilesd.conf" diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild index 27984303d16..849ad870b21 100644 --- a/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild +++ b/sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild @@ -46,6 +46,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process ${PN}.conf + [[ -d /var/cache/fscache ]] && return elog "Before CacheFiles can be used, a directory for local storage" elog "must be created. The default configuration of /etc/cachefilesd.conf"