diff options
author | Sam James <sam@gentoo.org> | 2021-07-30 23:59:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-31 00:30:17 +0100 |
commit | 86bdb34e63e84402513f06dce459f331dfc31948 (patch) | |
tree | 2e71ff321bb7f55e0ffe19a7939e6315baabea13 /sys-fs/cachefilesd | |
parent | sys-cluster/slurm: [QA] call tmpfiles_process in pkg_postinst (diff) | |
download | gentoo-86bdb34e63e84402513f06dce459f331dfc31948.tar.gz gentoo-86bdb34e63e84402513f06dce459f331dfc31948.tar.bz2 gentoo-86bdb34e63e84402513f06dce459f331dfc31948.zip |
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@gentoo.org>
Diffstat (limited to 'sys-fs/cachefilesd')
-rw-r--r-- | sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-fs/cachefilesd/cachefilesd-0.10.9.ebuild | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild index 495532b754a1..48fbad06a93a 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 27984303d163..849ad870b21d 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" |