FC4 kernel performance

Bernardo Innocenti bernie at develer.com
Thu Jun 23 23:15:23 UTC 2005


Matthew Miller wrote:
> On Thu, Jun 23, 2005 at 03:45:36AM +0200, Bernardo Innocenti wrote:
> 
>>I second this.  Building custom kernels from the src rpm is
>>a tedious operation that requires too many steps to be carried
>>out manually.
> 
> 
> Only if you're doing it wrong. :)

That's what I usually do:

 # rpm -i kernel-2.6.x-nnnn.src.rpm
 # cd /usr/src/redhat/SPECS/
 # rpmbuild -bp --target=x86_64 kernel-2.6.spec
 [...wait...]
 # mv /usr/src/redhat/BUILD/kernel-2.6.x/linux-2.6.x /usr/src/kernels/2.6.x-nnnn.bernie
 # cd /usr/src/kernels/2.6.x-nnnn.bernie
 # vi Makefile
 [...set EXTRAVERSION to "-nnnn.bernie"...]
 # cp ../<oldkernel/.config .
 # make oldconfig
 # make
 # make modules_install
 # make install

Is it wrong?  Is there an easy way to skip the first steps?

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/




More information about the devel mailing list