Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
Date: Thu, 12 Jul 2012 13:48:19
Message-Id: 4FFED575.5090607@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: udev-rules.eclass by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 12/07/12 03:17 AM, Michał Górny wrote:
5 > On Thu, 12 Jul 2012 13:01:21 +0800 Ben de Groot <yngwin@g.o>
6 > wrote:
7 >
8 >> On 12 July 2012 07:42, William Hubbs <williamh@g.o>
9 >> wrote:
10 >>> On Wed, Jul 11, 2012 at 10:57:42PM +0200, Diego Elio Pettenò
11 >>> wrote:
12 >>>> Il 11/07/2012 21:11, William Hubbs ha scritto:
13 >>>>> I am about to release udev-186-r1, which will move
14 >>>>> everything currently in /lib/udev to /usr/lib/udev.
15 >>>>
16 >>>> Unless you're going to establish a symlink, please keep it
17 >>>> under p.mask until everything is using some common code —
18 >>>> otherwise things _will_ break.
19 >>>
20 >>> Since multiple packages put things in /lib/udev, I'm not sure
21 >>> it is possible to establish a symlink from /lib/udev to
22 >>> /usr/lib/udev if that's what you mean; I'll look into it
23 >>> though.
24 >>
25 >> Couldn't you, on udev upgrade, move everything in /lib/udev to
26 >> /usr/lib/udev, and then make the symlink? Seems fairly simple to
27 >> me, but maybe I'm overlooking something?
28 >
29 > You are overlooking conflicts introduced through moving files
30 > without updating vardb.
31 >
32
33 There were no vdb issues when baselayout-1 was migrated to
34 baselayout-2, and it rewrote a whackload of stuff iirc...
35
36 Updating vdb shouldn't be an issue here, as long as pkg_postinst
37 doesn't crash mid-stream. Is the vdb common between package managers
38 or does each one have a different solution?
39
40
41
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2.0.19 (GNU/Linux)
44
45 iF4EAREIAAYFAk/+1XUACgkQ2ugaI38ACPBKdgD/S3jlct63PVIKE8UmHW4jEanZ
46 T2/lgnF/cUzTSlsyrEQA/iQWSvOcowsgI/r2VUlJLFpltNVea/f8pm5wKq5F4cjk
47 =HA5O
48 -----END PGP SIGNATURE-----

Replies

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