On Tue, Apr 23, 2019 at 5:03 PM Michael Orlitzky <m...@gentoo.org> wrote:
>
> We have two eclasses with almost-identical functions for handling
> tmpfiles.d entries:
>
>   1. systemd.eclass
>
>      a. systemd_dotmpfilesd
>      b. systemd_newtmpfilesd
>      c. systemd_tmpfiles_create
>
>   2. tmpfiles.eclass
>
>      a. dotmpfiles
>      b. newtmpfiles
>      c. tmpfiles_process
>
> The do/new functions are basically identical, while the create/process
> functions differ only in the fact that the one from tmpfiles.eclass
> supports opentmpfiles as well. Why do we have both? Couldn't the
> systemd.eclass ones be implemented in terms of the tmpfiles.eclass ones,
> and then deprecated (in favor of tmpfiles.eclass itself) in newer EAPIs?
>
> Or am I missing something?

Nope, seems like you have a pretty good handle on it. Just nobody has
gotten around to doing the work to deprecate the functions in
systemd.eclass.

Reply via email to