Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] Re: [Fedora-xen] Easiest way to compile custom kernel, for f

To: Gawain Lynch <gawain.lynch@xxxxxxxxxxx>
Subject: [Xen-users] Re: [Fedora-xen] Easiest way to compile custom kernel, for fedora +openswan+xen+patchomatic
From: Ask Bjørn Hansen <ask@xxxxxxxxxxxxxx>
Date: Mon, 29 May 2006 21:00:15 -0700
Cc: Tom Bishop <bishoptf@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, fedora-xen@xxxxxxxxxx
Delivery-date: Tue, 30 May 2006 09:44:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148955911.2664.9.camel@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fc808e200605272219v3e019853lbab360b88cbcacef@xxxxxxxxxxxxxx> <1148955911.2664.9.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On May 29, 2006, at 7:25 PM, Gawain Lynch wrote:

On Sun, 2006-05-28 at 00:19 -0500, Tom Bishop wrote:
[...] do I patch a fedora source or start with a vanilla kernel? I know what I
want but am unsure what is the best way?

There's a how-to here that leads you most of the way:
        http://fedoranews.org/cms/node/414

To add patches, just add them to the SOURCES directory and then reference them in the .spec file (you have to reference the patches twice in the .spec file, first to define that "patch 123" is "filename.patch" and then later when and how to apply "patch 123").

When you run rpmbuild it helpfully builds all the different versions of the kernel (no xen, xen0, xenU, ...) for the specified target architecture.



 - ask

--
http://www.askbjoernhansen.com/



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users