Gentoo Archives: gentoo-dev

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

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] rfc: udev-rules.eclass Ian Stakenvicius <axs@g.o>