1 |
On 04/24/2011 10:43 PM, Matthias Schwarzott wrote: |
2 |
> Getting that discussion back on top. |
3 |
>> Which is wrong, it should be /lib/foo instead, not $(get_libdir), to |
4 |
>> follow what udev and other software in Linux has been using for a very |
5 |
>> long time now. |
6 |
> |
7 |
> Sounds like we should fix udev ebuild and some ebuilds installing udev rules to |
8 |
> not use /$(get_libdir)/udev, but plain /lib/udev. |
9 |
|
10 |
Right, doesn't make sense to have both 32bit and 64bit ELF's for udev, |
11 |
so we should stick with /lib/udev. |
12 |
|
13 |
> |
14 |
> I used that in believe that /lib is identical or links to /$(get_libdir) and |
15 |
> multilib-strict requires it, but it seems to be intelligent enough to only |
16 |
> deny 64-bit libs to go to /lib. |
17 |
> |
18 |
> So proper udev should use /lib/udev, correct? |
19 |
|
20 |
Correct. |
21 |
|
22 |
|
23 |
|
24 |
The udev situation is really a mess tree-wide, we have ebuilds |
25 |
installing into 3 different directories now: |
26 |
|
27 |
/etc/udev (where user puts his local rules) |
28 |
/$(get_libdir)/udev (as explained above) |
29 |
/lib/udev (the correct one) |
30 |
|
31 |
Check the Portage to see the sad status of inconsistency: |
32 |
|
33 |
$ grep -r 'etc.*udev' */*/*.ebuild |
34 |
$ grep -r 'get_libdir.*udev' */*/*.ebuild |