[PATCH][UPower] build: detect udev rules dir

Tom Gundersen teg at jklm.no
Wed Mar 20 05:59:27 PDT 2013


On Wed, Mar 20, 2013 at 1:55 PM, Richard Hughes <hughsient at gmail.com> wrote:
> On 19 March 2013 12:33, Tom Gundersen <teg at jklm.no> wrote:
>> Udev rules may live in either /lib/udev/rules.d or /usr/lib/udev/rules.d depending on the distro.
>> Remove the heuristic for deciding the dir, use pkgconfig to detect the location and allow it to be
>> set manually.
>
> What distro uses /usr/lib/udev/rules.d?

At least Arch does.

I would expect Fedora (and anyone else who merged /lib into /usr/lib)
does too, but perhaps their package managers are more forgiving and
considers /lib an alias for /usr/lib?

Cheers,

Tom


More information about the devkit-devel mailing list