OpenVZ Forum


Home » General » Support » Config a custom Kernel from the given src.rpm
Config a custom Kernel from the given src.rpm [message #3008] Sat, 06 May 2006 14:17 Go to previous message
ronaldsh is currently offline  ronaldsh
Messages: 5
Registered: April 2006
Junior Member
I have D/L the source rpm so as the kernel.spec. And here are the steps i did.

1) Install the source rpm with "rpm -ivh"
2) goto /usr/src/redhat/SPECS , and run "rpmbuild -bp --target=i686 kernel.spec"
3) goto /usr/src/redhat/BUILD , copied the default config as .config
4) run "make menuconfig" and made those changes i want and save the .config
5) goto /usr/src/redhat/SPECS, run "rpmbuild -ba --target=i686 kernel.spec"

However, I found that during the rebuild, the .config file is REPLACED BACK with the original one after the kernel patching. Is that I had the wrong steps?
 
Read Message
Read Message
Previous Topic: vzmigrate misses vpsid.start, .stop, .mount, .umount
Next Topic: Firewall on boot
Goto Forum:
  


Current Time: Thu Jul 11 18:09:15 GMT 2024

Total time taken to generate the page: 0.02385 seconds