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 |