Building a custom kernel with directions from Fedora

psmith psmith at fedoraproject.org
Mon Jul 6 09:01:53 UTC 2009


stan wrote:
> The directions at the link
>
> http://fedoraproject.org/wiki/Building_a_custom_kernel
>
> work great for building a custom kernel from Fedora source rpm.  With
> one gotcha:  they don't build the firmware and the kernel won't
> install unless the firmware is present (or you build it as a binary
> blob into the kernel which I didn't want to do).
>
> So the example command that reads 
>
> rpmbuild -bb --with baseonly --without debuginfo --target=`uname -m`
> kernel.spec
>
> should be 
>
> rpmbuild -bb --with baseonly --with firmware --without debuginfo
> --target=`uname -m` kernel.spec
>
> and then everything works fine.
>
> A big thank you to the person who wrote those instructions, they are
> excellent!
>
>   
or you can just adjust the kernel spec file to build what you need ;)

phil




More information about the fedora-list mailing list