From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cachefilesd/
Date: Fri, 30 Jul 2021 23:31:11 +0000 (UTC) [thread overview]
Message-ID: <1627687817.86bdb34e63e84402513f06dce459f331dfc31948.sam@gentoo> (raw)
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"
next reply other threads:[~2021-07-30 23:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 23:31 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-03 21:49 [gentoo-commits] repo/gentoo:master commit in: sys-fs/cachefilesd/ Andreas K. Hüttel
2022-12-24 14:52 Andreas Sturmlechner
2022-02-13 21:08 Conrad Kostecki
2021-09-27 22:05 Marek Szuba
2021-03-07 11:58 David Seifert
2018-07-20 3:43 Jason Zaman
2018-07-20 3:43 Jason Zaman
2018-06-05 4:33 Jason Zaman
2018-06-05 4:33 Jason Zaman
2018-06-05 4:33 Jason Zaman
2016-11-20 9:55 Jason Zaman
2016-01-25 15:11 Justin Lecher
2016-01-08 10:18 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627687817.86bdb34e63e84402513f06dce459f331dfc31948.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox