Red Hat Bugzilla – Bug 97899
customization guide needs more information
Last modified: 2007-04-18 12:54:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
Description of problem:
The appendix of this document provdes a method of recompiling the kernel from
kernel-sources<xx>.rpm The update site provides the kernel-sources for the
i386 version, and the SRPMS for non-architecture specific sources.
In performing a kernel update from the errata site (2.4.20-18-9) , I chose the
file appropriate for my processor (athlon) to install, which worked just fine
according to the documentation
rpm -ivh kernel-2.4.20-18.9.athlon.rpm
now, it has become necessary to install the exactly corresponding source tree
due to needs of other installation programs ( in this case, NVIDIA driver ).
Since only the SRPMS file exists, There is no redhat official documented way
to generate the corresponding source tree to my installed binary.
As this is not a user-customized kernel, there should be a straightforward
method to do this, and to end up with the source tree in the right place with
the correct customizations.
documentation should be provided on the process of
downloading and using rpm, rpmbuild, whatever on the .src.rpm file to
#1 generate the correct source tree corresponding to the kernel binaries
#2 complete the generation of a kernel based upon an existing config file, and
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. read manuals
Note: Red Hat does not support recompiling the kernel for drivers not included
with the distribution.
Rebuilding the kernel from the SRPM package is one way to recompile the kernel.
The method described in the appendix is a different way to perform the same task.