1 |
On 07/11/2012 10:11 PM, William Hubbs wrote: |
2 |
> All, |
3 |
> I am about to release udev-186-r1, which will move everything currently |
4 |
> in /lib/udev to /usr/lib/udev. |
5 |
> |
6 |
> For packages that install udev rules in ${FILESDIR}, we need an eclass |
7 |
> that tests the version of udev installed on the user's system and |
8 |
> installs the udev rules in the proper place. I'm not sure how many |
9 |
> packages do this, so if it is a very small number of packages, it may |
10 |
> not be worth the eclass. It would be good to discuss that as well as |
11 |
> reviewing the proposed eclass. |
12 |
> |
13 |
> Thanks, |
14 |
> |
15 |
> William |
16 |
> |
17 |
|
18 |
Please don't hardcode the path like this, use pkg-config instead: |
19 |
|
20 |
inherit toolchain-funcs |
21 |
|
22 |
dir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d" |