1 |
On Mon, Mar 11, 2013 at 05:37:12PM -0400, Mike Gilbert wrote: |
2 |
> On Mon, Mar 11, 2013 at 5:18 PM, William Hubbs <williamh@g.o> wrote: |
3 |
> > All, |
4 |
> > |
5 |
> > systemd, like udev, stores directory paths in a way that they can be |
6 |
> > queried from pkg-config. However, the systemd.eclass currently does not |
7 |
> > use this ability. |
8 |
> > |
9 |
> > The following patch models the systemd eclass after the udev eclass and |
10 |
> > leaves the current defaults in place if there is an issue with |
11 |
> > pkg-config. |
12 |
> > |
13 |
> > Any thoughts? |
14 |
> > |
15 |
> > William |
16 |
> > |
17 |
> |
18 |
> What problem are you trying to solve here? |
19 |
> |
20 |
> We already know the values that pkg-config will return, so I fail to |
21 |
> see the advantage of calling pkg-config in the eclass. |
22 |
> |
23 |
> If we were to move the /usr/lib/systemd directory between two versions |
24 |
> of systemd, then yes, using pkg-config would be helpful. Until/unless |
25 |
> such a change occurs, I just don't see the point. |
26 |
|
27 |
The reason for this is a topic that Samuli and I want to discuss with |
28 |
the systemd team, probably on irc, but, basically, since gentoo does not |
29 |
have the /usr merge, we think parts of systemd which are in /usr |
30 |
should go in /, and this goes along with systemd upstream's recommendations |
31 |
as well (look at how the autogen.sh script in the systemd git repo works |
32 |
to see what I'm talking about). |
33 |
|
34 |
This would also allow udev and systemd to share the /lib/systemd |
35 |
directory, and we could install compatibility symlinks where necessary |
36 |
to not break users' systems. |
37 |
|
38 |
William |