Greg KH wrote:
On Thu, Sep 08, 2005 at 10:49:04PM +0100, twofourtysix wrote:

On 05/09/05, Petteri R?ty <[EMAIL PROTECTED]> wrote:

I have a couple of old machines I maintain and emerging and unmerging
kernel sources take a while because there are so many files. Also one
set of gentoo sources takes about 230MB of disk space. By removing stuff
not belonging to x86 I was able to succesfully run make with 58MB/230MB
removed. The stuff I removed:
arch/* except i386 and x86_64
include/asm-* expect asm-generic, asm-i386 and asm-x86_64

Is this safe?


No it isn't.  Please don't try to do this, it's not worth it.  If disk
space is limited, just build on one box, and install the kernel to the
other one.
IMHO it is, but not as a USE flag (it will never be stable enough without upstream support) but I think many would find the functionality useful in a script. I know I would. If it works most of the time and saves space, there is no reason not trim things. If it breaks, you immediately revert to a normal build.

Or, put the kernel source on a cd, and build off of it (putting the
objects on your local disk.)  This lets you only use the local disk for
your built objects.

thanks,

greg k-h

--
gentoo-dev@gentoo.org mailing list

Reply via email to