1 |
On Mon, Jan 1, 2018 at 6:23 PM, Zac Medico <zmedico@g.o> wrote: |
2 |
> On 12/31/2017 07:22 AM, Mike Gilbert wrote: |
3 |
>> By default, systemd-tmpfiles removes files older than 30 days from /var/tmp. |
4 |
>> The default portage config sets CCACHE_DIR=/var/tmp/ccache. |
5 |
>> |
6 |
>> Bug: https://bugs.gentoo.org/490676#c14 |
7 |
>> Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37 |
8 |
>> --- |
9 |
>> sys-apps/portage/files/portage-ccache.conf | 2 ++ |
10 |
>> sys-apps/portage/portage-2.3.19.ebuild | 4 +++- |
11 |
>> sys-apps/portage/portage-9999.ebuild | 4 +++- |
12 |
>> 3 files changed, 8 insertions(+), 2 deletions(-) |
13 |
>> create mode 100644 sys-apps/portage/files/portage-ccache.conf |
14 |
> |
15 |
> Looks good. Maybe we should also call tmpfiles_process in pkg_postinst? |
16 |
|
17 |
Calling tmpfiles_process is only relevant for tmpfiles.d snippets that |
18 |
create files/directories, which normally only happens on system |
19 |
startup. |
20 |
|
21 |
This one prevents files/directories from being removed during the |
22 |
recurring "clean" job, which runs once every 24 hours on systemd. |
23 |
OpenRC systems have no such process. |