Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Minimal Gentoo with X
Date: Wed, 30 Jun 2010 16:44:33
Message-Id: AANLkTimvsfPsCPmpbAXY7FGes41W7ufJW9BYHOFxvXWf@mail.gmail.com
In Reply to: [gentoo-user] Minimal Gentoo with X by Shoka
1 On 6/30/10, Shoka <shoka@×××.ch> wrote:
2 > Hello group,
3 >
4 > I'm trying to build kind of a minimal gentoo setup with X support. All I
5 > need is
6 >
7 > - X11 and a Window Manager
8 > - Mozilla Firefox
9 > - Lighttpd
10 >
11 > I use Gnome at this time.
12 >
13 > du reports the following directories as the biggest directories on my
14 > system:
15 >
16 > /usr/lib 418 MB
17 > /usr/portage 1200 MB
18 > /usr/share 550 MB
19 > /usr/src 560 MB (Kernel Sources)
20 >
21 > The other directories are very small.
22 >
23 > I think, the system is quite heavy in size, isn't it? I really would
24 > like to be able to shrink it down but not loosing functionality.
25 >
26 > Now I'm looking for tips to reduce disk consumption further. I've
27 > already cleaned /usr/portage/distfiles.
28 >
29 > I read that removing the whole /usr/portage after setting up the system
30 > is not a good idea. Is that true?
31 >
32 > May be someone could recommend a better window manager (smaller in size,
33 > stable)?
34 >
35 > I really appreciate any kind of recommendation to this topic.
36
37 Advice given so far seems to assume that you only have this one
38 system. But if you have another system that can take care of compiling
39 and building binary pkgs then you can probably slice off the 50MB+ or
40 more out of gcc, autotools, and such as well. In effect, turning
41 Gentoo into your very own, private binary distro.
42
43 As already mentioned, the embedded folks probably know this
44 intimately. Also, see the portage man page for defining your own
45 system set (without, e.g., gcc and autoconf), and man page of emerge
46 for option --buildpkg (and also other --*pkg* options of emerge).
47
48 Good luck, have fun!
49
50 --
51 Arttu V. -- Running Gentoo is like running with scissors