Building an unpatched Linus kernel as an RPM

Peter Robinson pbrobinson at gmail.com
Tue Oct 9 07:45:42 UTC 2012


On Tue, Oct 9, 2012 at 8:42 AM, Richard W.M. Jones <rjones at redhat.com> wrote:
>
> Reading:
> https://fedoraproject.org/wiki/Building_a_custom_kernel
>
> I know how to rebuild the kernel RPM and have done it many times.
> But I've been asked to reproduce a bug using a completely vanilla
> unpatched Linus kernel.  Do we have a recommended way to do that
> (but still using RPM)?

Yep, you just need to define with_vanilla 1 in the spec file. If you
just search for vanilla in kernel.spec it's reasonably straight
forward.

Peter


More information about the devel mailing list