Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] new tmpfiles-d.eclass (v2)
Date: Thu, 16 Aug 2012 19:37:43
Message-Id: 20120816224131.6044f5ab@sf
1 Second attempt to bring basic tmpfiles.d support to the tree.
2
3 The first one:
4 http://www.mail-archive.com/gentoo-dev@l.g.o/msg52059.html
5
6 Changed since:
7
8 - eclass tmpfilesd.eclass renamed to tmpfiles-d.eclass
9 - {do,new}tmpfilesd renamed to {do,new}tmpfiles_d
10 - systemd.eclass now uses tmpfiles-d.eclass as it was
11 the donor of one of functions:
12 systemd_dotmpfilesd() {
13 debug-print-function ${FUNCNAME} "${@}"
14
15 - (
16 - insinto /usr/lib/tmpfiles.d/
17 - doins "${@}"
18 - )
19 + dotmpfiles_d "${@}"
20 }
21
22 I've found only one user of systemd_dotmpfilesd:
23 media-sound/teamspeak-server-bin which can be just
24 converted to use shorter wrapper if needed.
25
26 And systemd ebuild does the same by hands (i guess
27 can be converted):
28 # Create /run/lock as required by new baselay/OpenRC compat.
29 insinto /usr/lib/tmpfiles.d
30 doins "${FILESDIR}"/gentoo-run.conf
31
32 --
33
34 Sergei

Attachments

File name MIME type
tmpfiles-d.eclass.patch text/x-patch
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] new tmpfiles-d.eclass (v2) "Michał Górny" <mgorny@g.o>