1 |
On Tue, 3 Jan 2012 17:09:18 -0600 |
2 |
William Hubbs <williamh@g.o> wrote: |
3 |
|
4 |
> On Tue, Jan 03, 2012 at 10:22:15PM +0100, Fabian Groffen wrote: |
5 |
> > > I'll have to go through on my system at |
6 |
> > > least and find all of the ebuilds that install things in |
7 |
> > > /{bin,sbin,lib}. I'll open a tracker bug as soon as udev-176 is |
8 |
> > > released; this will list all of the things we need to do to |
9 |
> > > complete the migration. |
10 |
> > |
11 |
> > I would suggest not to do this. It's more interesting to know what |
12 |
> > udev really requires to be in /usr/bin. |
13 |
> |
14 |
> The issues involve binaries in /{bin,sbin} that link to libraries in |
15 |
> /usr/lib as well as packages that install udev rules that run |
16 |
> binaries. |
17 |
> |
18 |
> > |
19 |
> > > Basically I have these in my head: |
20 |
> > > |
21 |
> > > * mask udev-176 in the tree. |
22 |
> > > * figure out and document how to make a simple initramfs with |
23 |
> > > dracut. |
24 |
> > > * unmask udev 176 making sure to point users with a separate /usr |
25 |
> > > partition to how to make an initramfs (I could probably do this |
26 |
> > > with ewarns in the ebuild and maybe a news item before we go |
27 |
> > > stable). |
28 |
> > > * stabilize a version of dracut. |
29 |
> > > * stabilize >=udev-176 and kmod. |
30 |
> |
31 |
> The part of the process above is the part I am the most concerned |
32 |
> about. I think we need to get everyone who is using separate /usr |
33 |
> switched over to an initramfs with udev 176, and this needs to happen |
34 |
> sooner than later, without using things like wrapper scripts or ways |
35 |
> to avoid the initramfs. Those are just stop-gap options that will |
36 |
> only work until some package they are depending on migrates to /usr. |
37 |
> |
38 |
> Once we get to this point in the process, I think we could take each |
39 |
> package that installs things in / individually and migrate it. But, I |
40 |
> think the part of the process listed above needs to happen sooner than |
41 |
> later. |
42 |
> |
43 |
> What are your thoughts? |
44 |
|
45 |
I agree. Especially with the last part. |
46 |
|
47 |
Thus, we need to: |
48 |
|
49 |
1) fix and stabilize packages necessary to create an initramfs, |
50 |
2) prepare really good instructions for creating one, |
51 |
3) prepare a news item for users. |
52 |
|
53 |
For the case of really simple initramfs mounting / and /usr only, I can |
54 |
even create a small tool on klibc if anyone's interested. |
55 |
|
56 |
-- |
57 |
Best regards, |
58 |
Michał Górny |