Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: locations of binaries and separate /usr
Date: Tue, 03 Jan 2012 09:53:51
Message-Id: 20120103095157.GC1961@waltdnes.org
In Reply to: [gentoo-dev] rfc: locations of binaries and separate /usr by William Hubbs
1 On Sat, Dec 31, 2011 at 07:59:47PM -0600, William Hubbs wrote
2
3 > I see three options:
4 >
5 > 1) Start migrating packages along with upstream and have everyone who
6 > has a separate /usr (including me by the way) start using an initramfs
7 > of some kind, either dracut or one that we generate specifically for
8 > gentoo. The reason I suggest the initramfs, is, unfortunately if we
9 > migrate everything, nothing else would work.
10 >
11 > 2) Combine the sbin and bin directories both on the root
12 > filesystem and in /usr by moving things from /sbin to /bin and /usr/sbin
13 > to /usr/bin.
14 >
15 > 3) Try to maintain things the way they are as long as possible.
16
17 4) Following pointers from Zac Medico and others, I've managed to get
18 Gentoo running with busybox's mdev, instead of udev. See
19 http://archives.gentoo.org/gentoo-user/msg_bc91b392ee0f76376104591cdf7dc5f0.xml
20 Executive summary... look Ma; no udev!
21
22 In the instructions there, I've set up a revised dev-manager ebuild in
23 an overlay. I've requested the changes to be incorporated into the
24 official ebuild and it appears to have been accepted. See...
25
26 https://bugs.gentoo.org/show_bug.cgi?id=395319
27
28 It should be rolled out eventually, and the overlay won't be necessary.
29
30 I think I've found one item so far that requires udev. My laptop's
31 graphics chip needs a binary blob from radeon-ucode. That binary blob,
32 in turn, requires the presence of /usr/lib/libudev.so.0 which is a
33 symlink to /usr/lib/libudev.so.0.9.3 (which is also required). I can
34 emerge udev
35 move or copy the 2 files over to /root
36 unmerge udev
37 move or copy the 2 files from /root to /usr/lib/
38 Note that /usr/lib/ is a symlink to /usr/lib64 on my 64-bit gentoo
39
40 > Please discuss; I want to hear what you think.
41
42 --
43 Walter Dnes <waltdnes@××××××××.org>

Replies