Originally Posted by GNUnderdog
>> rpm -i kernel-2.6.x.src.rpm
This "installs" or unpacks everything into the build tree, placing the source tarball, any patches, and pre-made kernel config files in /usr/src/redhat/SOURCES. The master build script or ".spec" file (the one you need to edit) is unpacked into /usr/src/redhat/SPECS. Go there.
This is my problem, and I think is what is creating my confusion. When I downloaded and installed the rpm, there were NO files placed in the "/usr/src/redhat" directory.
I see all the sub directories in there, and they are empty.
It creates the directory "/usr/src/linux-2.6.5-1.315"
Inside of that, the kernel source can be found.
However, I have no spec files, nothing.
I must not be using the correct RPM?
I got this rpm from the kernel.org mirror site...
Thanks for the instructions btw, very easy to understand. Now, if only I could install the right rpm.