On Wed, 2019-04-24 at 08:42 -0400, Michael Orlitzky wrote:
> On 4/24/19 8:24 AM, Michał Górny wrote:
> > > which will still work (albeit with a warning) if you somehow manage not
> > > to have virtual/tmpfiles installed. So, if it's important, I think we
> > > could drop the RDEPEND="virtual/tmpfiles" from tmpfiles.eclass.
> > 
> > Programs depend on tmpfiles being actually processed (either at install
> > time or on boot).  If you don't have the deps, you'll end up with
> > missing directories, and programs that don't work out of the box.
> > 
> 
> I get where you're coming from, but then shouldn't systemd.eclass also
> depend on systemd for its systemd-tmpfiles implementation? Otherwise,
> you can make exactly the same argument about systemd_tmpfiles_create().
> 

systemd.eclass has more than one purpose, and therefore such dep didn't
belong there (ebuilds should take care of the dependencies when using
tmpfiles logic from it).  tmpfiles.eclass on the other hand has a single
purpose, so we've solved the problem by adding an RDEPEND there.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to