Building an unpatched Linus kernel as an RPM

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

On Tue, Oct 9, 2012 at 8:42 AM, Richard W.M. Jones <rjones at> wrote:
> Reading:
> 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


More information about the devel mailing list