Bug 42554

Summary: Kernel source does not install!
Product: [Retired] Red Hat Linux Reporter: amitabha <aroy>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-28 09:19:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description amitabha 2001-05-28 08:57:35 UTC
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.

How reproducible:
Always

Steps to Reproduce:
1.rpm -Uvh kernel-2.4.2-2.src.rpm
2  rpm -q kernel-2.4.2-2.src.rpm


Actual Results:
/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) ?

Additional info:

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.

Comment 1 Arjan van de Ven 2001-05-28 09:19:54 UTC
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).