Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
Date: Thu, 12 Jul 2012 14:37:09
Message-Id: 20120712143514.GA2022@linux1
In Reply to: Re: [gentoo-dev] rfc: udev-rules.eclass by "Michał Górny"
1 On Thu, Jul 12, 2012 at 04:22:20PM +0200, Michał Górny wrote:
2 > On Wed, 11 Jul 2012 14:11:42 -0500
3 > William Hubbs <williamh@g.o> wrote:
4 >
5 > > # @FUNCTION: _udev_get_rulesdir
6 > > # @INTERNAL
7 > > # @DESCRIPTION:
8 > > # Get unprefixed udev rules directory.
9 > > _udev_get_rulesdir() {
10 > > local dir
11 > > if has_version '<sys-fs/udev-186-r1'; then
12 > > dir=/lib/udev/rules.d
13 > > else
14 > > dir=/usr/lib/udev/rules.d
15 > > fi
16 > > echo -n $dir
17 > > }
18 >
19 > For now, I think it would be better to just use /lib/udev/rules.d. We
20 > can decide on moving the rules later.
21
22 We can hold off on this for udev-186. Sometime soon though we will need
23 to move the rools.
24
25 The more I think about it it will do best to be a hard dependency on
26 >=sys-fs/udev-187 and not worry about the whole eclass issue.
27
28 William