On Mon, Mar 11, 2013 at 05:37:12PM -0400, Mike Gilbert wrote:
> On Mon, Mar 11, 2013 at 5:18 PM, William Hubbs <willi...@gentoo.org> wrote:
> > All,
> >
> > systemd, like udev, stores directory paths in a way that they can be
> > queried from pkg-config. However, the systemd.eclass currently does not
> > use this ability.
> >
> > The following patch models the systemd eclass after the udev eclass and
> > leaves the current defaults in place if there is an issue with
> > pkg-config.
> >
> > Any thoughts?
> >
> > William
> >
> 
> What problem are you trying to solve here?
> 
> We already know the values that pkg-config will return, so I fail to
> see the advantage of calling pkg-config in the eclass.
> 
> If we were to move the /usr/lib/systemd directory between two versions
> of systemd, then yes, using pkg-config would be helpful. Until/unless
> such a change occurs, I just don't see the point.

The reason for this is a topic that Samuli and I want to discuss with
the systemd team, probably on irc, but, basically, since gentoo does not
have the /usr merge, we think parts of systemd which are in /usr
should go in /, and this goes along with systemd upstream's recommendations
as well (look at how the autogen.sh script in the systemd git repo works
to see what I'm talking about).

This would also allow udev and systemd to share the /lib/systemd
directory, and we could install compatibility symlinks where necessary
to not break users' systems.

William

Attachment: pgpD09YVTySll.pgp
Description: PGP signature

Reply via email to