On 8/19/06, bruce bedouglas@earthlink.net wrote:
hi...
thanks for the reply... your comments are reasonable. but you have to understand.. this is for a project... to simply gain additional/further information.. i'm not looking to replace Centos/RH... i was simply looking for docs/instructions on how to build Centos from source in both the regular/debug mode... no more.. no less...
in all honesty, it should be rather simple, as i should be able to essentually use the same cmnds that are used to build the source rpms..
the difficulty/lack of information is coming as i can't find anything that appears to relate to the 'debug-kernel' issue...
I am guessing this is for some school project...
The debug kernel you mentioned was only upstream in 2.1. The 'code' to create the kernel-debug is in that spec file ONLY. Red Hat changed its way of doing things and put all the debugging information in -debuginfo packages sometime during the Fedora packages (FC3 was stabilized into RHEL-4.. so Centos-4 would be your best bet to creating all the debuginfo pacakges.)
In your 'build' system you will want to make sure that the rpmmacros files do not have %debug_package %{nil}
so that the automatic debug packages are created.
What google will tell you: http://vault.centos.org/debuginfo/ https://www.redhat.com/magazine/012oct05/features/oprofile/