diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-09-06 09:58:59 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-09-09 10:44:40 -0400 |
commit | 361789bd11acf9c40b71d7c5e59a7394ecb615b7 (patch) | |
tree | 9fff270f137cd82dc0c4b40bcf5e8d0067104d3c /eclass | |
parent | systemd.eclass: fix systemd_tmpfiles_create under EAPI 7 (diff) | |
download | gentoo-361789bd11acf9c40b71d7c5e59a7394ecb615b7.tar.gz gentoo-361789bd11acf9c40b71d7c5e59a7394ecb615b7.tar.bz2 gentoo-361789bd11acf9c40b71d7c5e59a7394ecb615b7.zip |
systemd.eclass: deprecate tmpfiles functions
Bug: https://bugs.gentoo.org/740638
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/systemd.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 97ecf0786aef..09ea71bbfdc5 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -240,6 +240,8 @@ systemd_install_serviced() { # @FUNCTION: systemd_dotmpfilesd # @USAGE: <tmpfilesd>... # @DESCRIPTION: +# Deprecated in favor of tmpfiles.eclass. +# # Install systemd tmpfiles.d files. Uses doins, thus it is fatal # in EAPI 4 and non-fatal in earlier EAPIs. systemd_dotmpfilesd() { @@ -260,6 +262,8 @@ systemd_dotmpfilesd() { # @FUNCTION: systemd_newtmpfilesd # @USAGE: <old-name> <new-name>.conf # @DESCRIPTION: +# Deprecated in favor of tmpfiles.eclass. +# # Install systemd tmpfiles.d file under a new name. Uses newins, thus it # is fatal in EAPI 4 and non-fatal in earlier EAPIs. systemd_newtmpfilesd() { @@ -435,6 +439,8 @@ systemd_is_booted() { # @FUNCTION: systemd_tmpfiles_create # @USAGE: <tmpfilesd> ... # @DESCRIPTION: +# Deprecated in favor of tmpfiles.eclass. +# # Invokes systemd-tmpfiles --create with given arguments. # Does nothing if ROOT != / or systemd-tmpfiles is not in PATH. # This function should be called from pkg_postinst. |