Config a custom Kernel from the given src.rpm [message #3008] |
Sat, 06 May 2006 14:17 |
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?
|
|
|