From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EDUqJ-0004Uh-8k for garchives@archives.gentoo.org; Thu, 08 Sep 2005 22:26:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j88MLRG7011765; Thu, 8 Sep 2005 22:21:27 GMT Received: from egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j88MIX9E003971 for ; Thu, 8 Sep 2005 22:18:34 GMT Received: from [35.9.44.33] (caffeine [35.9.44.33]) (authenticated bits=0) by egr.msu.edu (8.13.4/8.13.4) with ESMTP id j88MMHTD021681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Sep 2005 18:22:18 -0400 (EDT) Message-ID: <4320B999.6020406@egr.msu.edu> Date: Thu, 08 Sep 2005 18:22:17 -0400 From: warnera6 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] USE="minimal" for kernel sources References: <431C97C4.3070406@gentoo.org> <6fd8e3c0509081449160eefe6@mail.gmail.com> <20050908221409.GA6523@kroah.com> In-Reply-To: <20050908221409.GA6523@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 31a7ba71-2834-4b46-804e-7ecd99b1f210 X-Archives-Hash: 835f4688ad4351b0e7b0d51848876886 Greg KH wrote: > On Thu, Sep 08, 2005 at 10:49:04PM +0100, twofourtysix wrote: > >>On 05/09/05, Petteri R?ty 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