1 |
Pandu Poluan wrote: |
2 |
> |
3 |
> |
4 |
> On Nov 24, 2011 5:13 AM, "Florian Philipp" <lists@×××××××××××.net |
5 |
> <mailto:lists@×××××××××××.net>> wrote: |
6 |
> > |
7 |
> > Am 23.11.2011 20:48, schrieb Mark Knecht: |
8 |
> > > On Wed, Nov 23, 2011 at 11:36 AM, Paul Hartman |
9 |
> > > <paul.hartman+gentoo@×××××.com |
10 |
> <mailto:paul.hartman%2Bgentoo@×××××.com>> wrote: |
11 |
> > >> On Tue, Nov 22, 2011 at 9:57 PM, Pandu Poluan <pandu@××××××.info |
12 |
> <mailto:pandu@××××××.info>> wrote: |
13 |
> > >>> I'm just wondering, what are the benefits & drawbacks of turning on |
14 |
> > >>> "static" USE flag for sys-boot/grub? |
15 |
> > >> |
16 |
> > >> I seem to remember it has something to do with whether you're using |
17 |
> > >> 32bit vs 64bit, but I can't be certain. |
18 |
> > > |
19 |
> > > Fundamentally doesn't it build in any libraries, etc.? I don't |
20 |
> know really. |
21 |
> > > |
22 |
> > > I actually use the grub-static package on my systems vs grub and |
23 |
> > > messing with USE flags. I think it was Duncan on the amd64 list that |
24 |
> > > recommended that years ago but I haven't a clue as to what the reason |
25 |
> > > was. |
26 |
> > > |
27 |
> > > - Mark |
28 |
> > > |
29 |
> > |
30 |
> > You are referring to this: |
31 |
> > http://www.mail-archive.com/gentoo-amd64@l.g.o/msg12619.html |
32 |
> > |
33 |
> > Also be sure not to confuse sys-boot/grub with USE="static" and |
34 |
> > sys-boot/grub-static. grub-static is required for AMD64 with a |
35 |
> > no-multilib profile (because grub is always 32bit and you cannot build |
36 |
> > grub on such a system). If you have a multilib profile, you can use |
37 |
> > sys-boot/grub with USE="-static" just like me: |
38 |
> > |
39 |
> > ldd /sbin/grub |
40 |
> > linux-gate.so.1 => (0xffffe000) |
41 |
> > libncurses.so.5 => /lib32/libncurses.so.5 (0xf76bf000) |
42 |
> > libc.so.6 => /lib32/libc.so.6 (0xf7535000) |
43 |
> > libdl.so.2 => /lib32/libdl.so.2 (0xf7531000) |
44 |
> > /lib/ld-linux.so.2 (0xf7733000) |
45 |
> > |
46 |
> > As with all USE="static" flags, there is no real need for a normal |
47 |
> > system unless it helps to avoid a /usr/lib dependency for a /bin or |
48 |
> > /sbin binary which is not the case here. It also doesn't affect the boot |
49 |
> > loader, only its installer. |
50 |
> > |
51 |
> |
52 |
> Thanks, Florian! |
53 |
> |
54 |
> How I wish there's a wiki-style guide explaining USE flags, subtle |
55 |
> differences between packages with similar name, etc. |
56 |
> |
57 |
> ... |
58 |
> |
59 |
> Hmm... I think I'm going to start such a wiki. Unless someone have |
60 |
> started it first. |
61 |
> |
62 |
> Let's see if I can coax my hosting to increase my hosting space |
63 |
> without additional fees... |
64 |
> |
65 |
> Rgds, |
66 |
> |
67 |
|
68 |
There are already two Gentoo wikis. One official one and one unofficial |
69 |
I guess you would call it. Why not put the info on one or both of these? |
70 |
|
71 |
Dale |
72 |
|
73 |
:-) :-) |
74 |
|
75 |
-- |
76 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |