John Haxby wrote:
Anoop Chandran wrote:
i believe the .src.rpm infact contains the kernel sources and would be installed into /usr/src/linux
form where the usual procedures involved in compiliing a custom kernel can be followed.
You believe wrongly. Install the kernel-source RPM and see for yourself that you have stuff in /usr/src/linux-2.4*.
i hope u refering to the directory path /usr/src/linux by /usr/src/linux i meant the generic path to kernel sources .. there's a sym link from /usr/lsrc/linux to /usr/src/linux-2.4-x.x (the current kernel version)
while building applications that refer to kernel sources, this path /usr/src/linux is followed ( i dunno if that's still the case )
in case of normal .src.rpm files, for example evolution-x.x.x.src.rpm ,when i install this, the source files are copied to a directory /usr/src/redhat/SOURCES/
from where i can compile or patch that particular application sources..
There was a huge discussion about this in the archives a while ago. To summarise, the kernel .src.rpm is used to build a large number of packages for different platforms: there are i386, i686 and athlon kernels, boot kernels, SMP kernels and, importantly, a package called "kernel-source". This is a "binary" RPM but contains the files needed to either build drivers against the running kernel or build a custom kernel.
that's what i said in my mail as well.. ( but somehow i missed the word kernel-sources ... :) )
pls correct me if iam wrong..
It's always worth testing your assumptions before you pass them on :-) It saves a lot of time in the end.
jch
regards, anoop.
______________________________________ Scanned and protected by Email scanner
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list