Compilation error building kernel-

Jarod Wilson jarod at
Mon May 24 04:01:55 UTC 2010

On Sun, May 23, 2010 at 11:05 PM, Genes MailLists <lists at> wrote:
> On 05/23/2010 08:50 PM, Jarod Wilson wrote:
>> On Sun, May 23, 2010 at 5:23 PM, Genes MailLists <lists at> wrote:
>>> On 05/23/2010 02:45 PM, Jarod Wilson wrote:
>>>> If you *just* want to rebuild, 'rpmbuild --rebuild
>>>> kernel-package.src.rpm' is even simpler. You only need to install the
>>>> srpm bits if you're going to actually change something. It only gets
>>>> complex if you want to patch things, modify config options, etc.
>>> I thought the OP wanted to build upstream kernel
>> Then that would be rpmbuild --rebuild --with vanilla kernel-package.src.rpm.
>  There is no vanilla-kernel.src.rpm - thats the point.

I didn't say there was a vanilla-kernel.src.rpm, but there doesn't
need to be. You rebuild the Fedora kernel src.rpm file using rpmbuild,
passing in the flag '--with vanilla', which results in building a
(mostly) pure vanilla upstream kernel without (most of) the Fedora
patches, and spits out a resulting kernel-vanilla binary package.
*That* is the point. :)

Excerpt from the Fedora kernel spec file:
# Want to build a vanilla kernel build without any non-upstream patches?
# (well, almost none, we need nonintconfig for build purposes).
Default to 0 (off).
%define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}

Jarod Wilson
jarod at

More information about the devel mailing list