From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SpJhD-0006qp-9P for garchives@archives.gentoo.org; Thu, 12 Jul 2012 13:44:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9440E058E; Thu, 12 Jul 2012 13:44:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5EDD321C003 for ; Thu, 12 Jul 2012 13:44:01 +0000 (UTC) Received: from [192.168.1.145] (CPE002401f30b73-CM001cea3ddad8.cpe.net.cable.rogers.com [99.240.69.152]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id B3CBD1B4005 for ; Thu, 12 Jul 2012 13:44:00 +0000 (UTC) Message-ID: <4FFED49D.6020704@gentoo.org> Date: Thu, 12 Jul 2012 09:43:57 -0400 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120625 Thunderbird/10.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: udev-rules.eclass References: <20120711191142.GA26844@linux1> <4FFDE8C6.40006@flameeyes.eu> <20120711234230.GA27226@linux1> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ac015169-836f-4927-82ac-08d036bd6d25 X-Archives-Hash: 89ef6203fb6eb26589714c808b210c03 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 12/07/12 01:01 AM, Ben de Groot wrote: > On 12 July 2012 07:42, William Hubbs wrote: >> On Wed, Jul 11, 2012 at 10:57:42PM +0200, Diego Elio Petten=C3=B2 >> wrote: >>> Il 11/07/2012 21:11, William Hubbs ha scritto: >>>> I am about to release udev-186-r1, which will move everything >>>> currently in /lib/udev to /usr/lib/udev. >>>=20 >>> Unless you're going to establish a symlink, please keep it >>> under p.mask until everything is using some common code =E2=80=94 >>> otherwise things _will_ break. >>=20 >> Since multiple packages put things in /lib/udev, I'm not sure it >> is possible to establish a symlink from /lib/udev to >> /usr/lib/udev if that's what you mean; I'll look into it though. >=20 > Couldn't you, on udev upgrade, move everything in /lib/udev to=20 > /usr/lib/udev, and then make the symlink? Seems fairly simple to > me, but maybe I'm overlooking something? >=20 A symlink isn't a good idea as, iirc, the new udev still -reads- from both /usr/lib/udev and /lib/udev .. so it'd have two sources for the exact same rules; could be an issue. Given this, the way I see it all we need is a helper s.t. all installs going forward put the rules into the right place according to the installed udev (or maybe the installed virtual/device-manager) so that ebuilds/packages dont need to worry about setting the paths explicitly; and eventually as things progress all the rules in /lib/udev will get cleaned out in favour of /usr/lib/udev ... ? We could always just forgo the helper and make all packages migrate via a >=3Dudev-186-r1 dep and setting the rules install paths explicitly to /usr/lib/udev ... the helper (to me) just makes this cleaner in the ebuild.. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAk/+1J0ACgkQ2ugaI38ACPAaRgEAuknxIx3LOgVniVsEqxrwWfnj vNW5Zc/6/ZCn8QL+LZ8A/iepdgiZ7bmYtUb+Zj537o46z/prXP290q6oo/2DQy2j =3DG32M -----END PGP SIGNATURE-----