RPM kernel builds

Cyber Source peter at thecybersource.com
Sun Dec 15 20:26:58 EST 2002


Hey Pete,
  Maybe you could do a demo of a kernel rebuild at the next meeting?
Possibly complete with this script you are going to write.
On Sun, 2002-12-15 at 18:52, peter wrote:
> For those of us using RPM-based distros, I believe I have found and 
> fixed the RPM kernel building problem. Here's the synopsis:
> 
> After version 4.x, RH split RPM into 2 parts; one part (rpm) is strictly 
> for package management. The other part (rpmbuild) is for er, building 
> RPM's. This change has not been reflected in the kernel Makefile.
> 
> The quick fix is to goto the next-to-last line in the Makefile and edit 
> to read "rpmbuild -ta...." (without the quotes, of course)
> instead of "rpm -ta..."
> 
> I'm currently rebuilding my hacked-up 2.4.19 kernel this way into an 
> rpm. So far, so good.
> 
> Later on, I'll probably cough the logic up into a script and submit it 
> as a patch against the Makefile to the kernel mailing list.
> 
> Good to see you all (finally!), BTW





More information about the nflug mailing list