Gentoo Archives: gentoo-dev

From: warnera6 <warnera6@×××××××.edu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE="minimal" for kernel sources
Date: Thu, 08 Sep 2005 22:26:03
Message-Id: 4320B999.6020406@egr.msu.edu
In Reply to: Re: [gentoo-dev] USE="minimal" for kernel sources by Greg KH
1 Greg KH wrote:
2 > On Thu, Sep 08, 2005 at 10:49:04PM +0100, twofourtysix wrote:
3 >
4 >>On 05/09/05, Petteri R?ty <betelgeuse@g.o> wrote:
5 >>
6 >>>I have a couple of old machines I maintain and emerging and unmerging
7 >>>kernel sources take a while because there are so many files. Also one
8 >>>set of gentoo sources takes about 230MB of disk space. By removing stuff
9 >>>not belonging to x86 I was able to succesfully run make with 58MB/230MB
10 >>>removed. The stuff I removed:
11 >>>arch/* except i386 and x86_64
12 >>>include/asm-* expect asm-generic, asm-i386 and asm-x86_64
13 >>
14 >>Is this safe?
15 >
16 >
17 > No it isn't. Please don't try to do this, it's not worth it. If disk
18 > space is limited, just build on one box, and install the kernel to the
19 > other one.
20 IMHO it is, but not as a USE flag (it will never be stable enough
21 without upstream support) but I think many would find the functionality
22 useful in a script. I know I would. If it works most of the time and
23 saves space, there is no reason not trim things. If it breaks, you
24 immediately revert to a normal build.
25 >
26 > Or, put the kernel source on a cd, and build off of it (putting the
27 > objects on your local disk.) This lets you only use the local disk for
28 > your built objects.
29 >
30 > thanks,
31 >
32 > greg k-h
33
34 --
35 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] USE="minimal" for kernel sources "Petteri Räty" <betelgeuse@g.o>