Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: williamh@g.o
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
Date: Thu, 12 Jul 2012 14:24:13
Message-Id: 20120712162220.4be675da@pomiocik.lan
In Reply to: [gentoo-dev] rfc: udev-rules.eclass by William Hubbs
1 On Wed, 11 Jul 2012 14:11:42 -0500
2 William Hubbs <williamh@g.o> wrote:
3
4 > # @FUNCTION: _udev_get_rulesdir
5 > # @INTERNAL
6 > # @DESCRIPTION:
7 > # Get unprefixed udev rules directory.
8 > _udev_get_rulesdir() {
9 > local dir
10 > if has_version '<sys-fs/udev-186-r1'; then
11 > dir=/lib/udev/rules.d
12 > else
13 > dir=/usr/lib/udev/rules.d
14 > fi
15 > echo -n $dir
16 > }
17
18 For now, I think it would be better to just use /lib/udev/rules.d. We
19 can decide on moving the rules later.
20
21 --
22 Best regards,
23 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: udev-rules.eclass William Hubbs <williamh@g.o>