Fedora 10 kernel source.

Erik P. Olsen epodata at gmail.com
Wed Sep 24 14:16:52 UTC 2008


On 23/09/08 00:58, Phil Meyer wrote:
> Erik P. Olsen wrote:
>> I need to view the kernel source of fedora 10. Is there a way to do that?
>>
>>   
> 
> Same as always: (works for all recent Fedora/RH/Centos/Oracle based
> distros)
> 
> # = root or sudo
> $ = you
> 
> 1. # yum install yumutils rpmdevtools (you may also need sparse, and
> others)
> 1.a $ /usr/bin/rpmdev-setuptree
> 2. # yumdownloader --source kernel
> 3. $ rpm -ihv kernel-<whatever was just downloaded>.rpm
> 4. $ cd ~/rpmbuild/SPECS
> 5. $ rpmbuild -bp kernel.spec (additional dependencies, if any, will be
> listed here)
> 6. $ cd ../BUILD/kernel-2.6.??

Thanks a lot. Only extra thing I had to do was to enable fedora-developemnt.repo.

-- 
Erik.




More information about the fedora-list mailing list