Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
Date: Thu, 12 Jul 2012 20:05:53
Message-Id: 4FFF2C65.3080200@gentoo.org
In Reply to: [gentoo-dev] rfc: udev-rules.eclass by William Hubbs
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"

Replies

Subject Author
Re: [gentoo-dev] rfc: udev-rules.eclass Mike Gilbert <floppym@g.o>
Re: [gentoo-dev] rfc: udev-rules.eclass "Michał Górny" <mgorny@g.o>