Red Hat Bugzilla – Bug 42554
Kernel source does not install!
Last modified: 2007-04-18 12:33:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.7) Gecko/20010316
Description of problem:
I have tried to install the kernel source from a RH CD
from the rpm source file. For some reason, the /usr/src/linux
tree is not created. /usr/src contains a redhat directory
which contains a SOURCES directory, though.
Steps to Reproduce:
1.rpm -Uvh kernel-2.4.2-2.src.rpm
2 rpm -q kernel-2.4.2-2.src.rpm
/usr/src just contains the old redhat directory.
The linux source tree (/usr/src/linux) is NOT created.
Expected Results: I expect a source tree to be created (am I misguided here) ?
I am trying to install from the CDs from a redhat boxed
set that I bought. So I don't expect it to be a problem
with the CD itself.
Please fix this - I need to compile ALSA on my machine
and it needs the kernel source.
To create /usr/src/linux, you must install the kernel-source-2.4.2.i386.rpm
The .src.rpm contains the "raw" form (eg the linux-2.4.2.tar.bz file and all the
patches we've applied to them) while kernel-source-2.4.2.i386.rpm contains the
.c and .h files you expect (eg after the patches have been applied).