Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 09 Sep 2020 14:46:02
Message-Id: 1599662680.361789bd11acf9c40b71d7c5e59a7394ecb615b7.floppym@gentoo
1 commit: 361789bd11acf9c40b71d7c5e59a7394ecb615b7
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 6 13:58:59 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 14:44:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361789bd
7
8 systemd.eclass: deprecate tmpfiles functions
9
10 Bug: https://bugs.gentoo.org/740638
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 eclass/systemd.eclass | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
17 index 97ecf0786ae..09ea71bbfdc 100644
18 --- a/eclass/systemd.eclass
19 +++ b/eclass/systemd.eclass
20 @@ -240,6 +240,8 @@ systemd_install_serviced() {
21 # @FUNCTION: systemd_dotmpfilesd
22 # @USAGE: <tmpfilesd>...
23 # @DESCRIPTION:
24 +# Deprecated in favor of tmpfiles.eclass.
25 +#
26 # Install systemd tmpfiles.d files. Uses doins, thus it is fatal
27 # in EAPI 4 and non-fatal in earlier EAPIs.
28 systemd_dotmpfilesd() {
29 @@ -260,6 +262,8 @@ systemd_dotmpfilesd() {
30 # @FUNCTION: systemd_newtmpfilesd
31 # @USAGE: <old-name> <new-name>.conf
32 # @DESCRIPTION:
33 +# Deprecated in favor of tmpfiles.eclass.
34 +#
35 # Install systemd tmpfiles.d file under a new name. Uses newins, thus it
36 # is fatal in EAPI 4 and non-fatal in earlier EAPIs.
37 systemd_newtmpfilesd() {
38 @@ -435,6 +439,8 @@ systemd_is_booted() {
39 # @FUNCTION: systemd_tmpfiles_create
40 # @USAGE: <tmpfilesd> ...
41 # @DESCRIPTION:
42 +# Deprecated in favor of tmpfiles.eclass.
43 +#
44 # Invokes systemd-tmpfiles --create with given arguments.
45 # Does nothing if ROOT != / or systemd-tmpfiles is not in PATH.
46 # This function should be called from pkg_postinst.