Ok I have a test box set up running FC-11.. it is Pentium - D box running with with the i586 Kernel flavour on it...
I am using FC-11 as im trying to build a kernel as this will need to run on a Geode LX-800 processor (i586 class) as opposed to an i686 class processor...
my intent is to slim the kernel down a bit for running on the embedded platform.
I have read several different guides online and have tried to use / mix and match to get where i want but am missing a piece somewhere...
the main issue is that any custom changes I make to the config file are overwritten and ignored, and I can see where this happens.. trying to figure out if I just have a command wrong?
here is what im doing:
1] put kernel-2.6.30.10-105.2.23.fc11.src.rpm into /usr/src
2] run rpmdev-setuptree
my tree is made normal and good
3] rpm -Uvh kernel*.src.rpm
my kernel sources are installed into my tree normally
4] next I descend into my BUILD/kernel*/linux* directory
5] open the Makefile and edit in my desired extraversion and save
6] cp configs/linux-2.6.30.10-i586.config .config
copies a default config file into me
7] make oldconfig
exits normally
8] make menuconfig
opens and I make changes as desired to my kernel and save
9] edit my .config and put # i586 as my top line and save
10] cp my .config to ~/rpmbuild/SOURCES/config-i586
11] cd to ~/rpmbuild/SPECS
12] rpmbuild -bb --with baseonly --without debuginfo --target=i586 kernel.spec
my build commences and completes normally..
HOWEVER NONE of my custom changes are saved, my extraversion is gone, my config is default...
the wierd thing is I can see why and how it is broken...
it looks like in the prep stage, which is re-run when doing the -bb option that the Makefile and configuration is overwritten purposefully..
so my question is what is the best way to get my configs to "stick"? it almost looks like im going to have to make my config changes, and then apply that configuration file and Makefile into the tarball that is extracted during the %prep phase of the rpmbuild...
any ideas???
-Christopher