yum update for kernel sources

Paul Howarth paul at city-fan.org
Tue Feb 28 18:32:07 UTC 2006


Gowri Satish Adimulam wrote:
> Thanks Mr paul.
> 
> On Tue, 2006-02-28 at 07:45 +0000, Paul Howarth wrote:
> 
>>On Tue, 2006-02-28 at 09:50 +0900, Gowri Satish Adimulam wrote:
>>
>>>Hi , 
>>>I would like use kernel source for both adding drivers are well as
>>>configuring kernel.( porting for small embedded system) 
>>>
>>>
>>>Here i see one more problem ,  i have followed your below mentioned
>>>steps.
>>>
>>>kernel sources got updated, but when i try a command like rpm -qa | grep
>>>kernel-source " nothing has been returned .
>>>
>>>i have a doubt whether kernel sources were really downloaded or not .

...

>>This last step should have resulted in a file
>>kernel-2.6.11-1.1369_FC4.src.rpm in the directory you ran it from. That
>>package contains the full kernel sources.
>>
>>It's a source RPM package, so installing it just unpacks it into your
>>RPM build environment and will not affect the RPM database at all, hence
>>it won't show in "rpm -qa".
>>
>>A guide to tweaking the kernel package can be found at:
>>http://oak.cats.ohiou.edu/~hobbsk/kernel-compilation-tutorial-en/steps.html

Actually that tutorial doesn't work any more; an extra step (editing the 
.config file) is needed before rebuilding the RPM.

You could try the following guide instead:
http://www.city-fan.org/tips/TweakKernelPackage

Paul.




More information about the fedora-list mailing list