Hi All, I must have missed something here. I installed my kernel source using rpm -ivh kernel-`uname -r`.el5.src.rpm it installs perfectly, without error, but if I cd to the /usr/src/redhat folder, all I get is SOURCES and SPECS... rpm -qa | grep kernel doesn't return the kernel source rpm I installed only the kernel, devel and headers. And I can't find the actual kernel source folder.... thanks chad ________________________________ Pinnacle Technology Holdings E-Mail Disclaimer: This e-mail is confidential and intended solely for the use of the individual(s) to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Pinnacle Technology Holdings any of it's divisions or affiliates. If you are not the intended recipient, be advised that you have this e-mail in error and that any use, dissemination, forwarding, printing, or copying of it is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090624/efead270/attachment.html>
Chadley Wilson wrote:> Hi All, > > I must have missed something here. > > I installed my kernel source using rpm -ivh kernel-`uname -r`.el5.src.rpm > it installs perfectly, without error, but if I cd to the /usr/src/redhat folder, all I get is SOURCES and SPECS...This is correct - SRPMS install, by default, into /usr/src/redhat - the source files go into /usr/src/redhat/SOURCES and the spec files go into /usr/src/redhat/SPECS> rpm -qa | grep kernel > > doesn't return the kernel source rpm I installed only the kernel, devel and headers. And I can't find the actual kernel source folder.... > thanksSRPMS are not added to the RPM database The 'kernel source folder' is /usr/src/redhat/SOURCES James Pearson
On Wed, Jun 24, 2009 at 1:43 PM, Chadley Wilson<chadley at pinteq.co.za> wrote:> > I installed my kernel source using rpm -ivh kernel-`uname -r`.el5.src.rpm > > it installs perfectly, without error, but if I cd to the /usr/src/redhat > folder, all I get is SOURCES and SPECS... > > rpm -qa | grep kernel > > doesn't return the kernel source rpm I installed only the kernel, devel and > headers. ?And I can't find the actual kernel source folder....For what reason do you need to the kernel sources ? If you check the CentOS wiki (http://wiki.centos.org/HowTos/I_need_the_Kernel_Source) you can found out what you actually need to install. Regards, Tim -- Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)