From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Grzesiek_S=F3jka?= Subject: Re: OT: compilation Date: Thu, 07 Oct 2010 23:04:14 +0200 Message-ID: <4CAE35CE.9050905@pfu.pl> References: <4CAE2A1B.1000105@pfu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Xavier Chantry Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On 10/07/10 22:50, Xavier Chantry wrote: > 2010/10/7 Grzesiek S=F3jka: >> I have two problems with the kernel compilation. >> >> 1. I have a small rootfs. It is too small to put all the modules there >> without gzipping it first. So installing it requires lots of sweating. T= hat >> is why I was wondering if there is a (more/less easy) way to make the "m= ake >> modules_install" command gzip the modules "on the fly". >> > > No idea if you can do that but here are some possible alternatives : > 1) increase the size of your rootfs Veeeeeeeeeeeeery difficult in my case. > 2) remove modules you don't need and change from modules to builtin > for features or drivers that you don't need to unload/reload I'm trying to do this. Unfortunately I did not compile the kernel by = myself for at lest 5 yeas and it is a big in my a%$#. > 3) a quick googling showed me this patch : > http://www.mail-archive.com/linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg271865.html > However it seems to install first then compress so if that's the case, > you will need to adapt it to your need If I'm right it compress every module _just_after_ imstalling it. So it = should be fine for me. > 4) set INSTALL_MOD_PATH to a prefix , compress modules , then move to > /lib/modules/ If 3) don't helps I try to do this. > LOCALVERSION_AUTO is found in : > make menuconfig > General Setup > Automatically append version information to the version string Supper thanks