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.
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.... thanks
SRPMS are not added to the RPM database
The 'kernel source folder' is /usr/src/redhat/SOURCES
James Pearson
|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.... |> thanks | |SRPMS are not added to the RPM database | |The 'kernel source folder' is /usr/src/redhat/SOURCES | |James Pearson [CW] Thanks James for the feed back...
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.
On Wed, Jun 24, 2009 at 1:43 PM, Chadley Wilsonchadley@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