rpmbuild
Paul Howarth
paul at city-fan.org
Fri Feb 18 12:24:43 UTC 2005
Mark Panen wrote:
> I downloaded kernel-2.6.10-1.766_FC3.src.rpm thinking i would get the
> kernel source package out of it.
>
> I ran this command "rpmbuild --rebuild --target i686
> kernel-2.6.10-1.766_FC3.src.rpm"
>
> and got
> kernel-2.6.10-1.766_FC3.root.i686.rpm
> kernel-debuginfo-2.6.10-1.766_FC3.root.i686.rpm
> kernel-smp-2.6.10-1.766_FC3.root.i686.rpm
>
> What have i actually done here ?
You've made a custom kernel, virtually identical to the "official"
2.6.10-1.766_FC3 kernel.
> and how can i get the kernel source
> package like in the old days when it came on the ftp server ?
The release notes
(/usr/share/doc/fedora-release-3/RELEASE-NOTES-x86-en.html) describe how
to create a kernel source tree from the .src.rpm
What is it you are actually trying to do? Most device drivers don't
actually need the kernel-source to build. If you're building a custom
kernel, there's a good guide on how to do it at:
http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/
Paul.
More information about the fedora-list
mailing list