[CentOS] Custom kernel RPM/SRPM

Thu Nov 17 17:24:02 UTC 2005
Connie Sieh <csieh at fnal.gov>

On Thu, 17 Nov 2005, Hilliard, Jay wrote:

> Bryan J. Smith wrote:
> > As Jim pointed out, at this point, it's better:
> > 
> > A)  to the "prep" (-bp)
> > B)  change what you want directly in the ./BUILD/kernel-* dir
> > C)  finish off the "build" (-bb)
> > 
> 
> 
> I believe a -bb first removes ./BUILD/kernel-....
> You can modify config files and such in the SOURCE directory, but the 
> ./BUILD/kernel-* stuff get's removed and recreated when you do a build 
> (-bb) so any changes you make there will disappear.
> 
> I usually do a -bp, use the BUILD directory to create new patches and 
> such, put them in the SOURCES directory, add the patches to my SPEC 
> file, then do the rpmbuild -bb.  I always follow up with a (-bs) to 
> generate a new src.rpm for next time.
> 
> I currently have about 6 patches in the Enterprise kernel that are 
> absolutely necessary, else I couldn't use it, so I disagree with the 
> idea of "Don't do it"
> 

So what do you think needs to be patched.  Are your patches available?

-Connie Sieh
Fermi National Accelerator Laboratory