WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] building xen without mercury repository access

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] building xen without mercury repository access
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Wed, 06 Feb 2008 23:10:03 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Feb 2008 14:06:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3CE649E.134F0%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C3CE649E.134F0%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20080114)
Keir Fraser a écrit :
> On 5/2/08 17:54, "Guillaume Rousse" <Guillaume.Rousse@xxxxxxxx> wrote:
> 
>> I just tried to update mandriva xen package. I noticed the build
>> procedure changed since 3.1.0: instead of downloading pristine kernel
>> sources, and patching them locally, the makefile now directly fetches
>> modified kernel from xen mercury repository.
> 
> Yes, that's right. Preferably the repository linux-2.6.18-xen.hg is placed
> adjacent (at same directory level) to your xen repository.
> 
>> And even if a working
>> directory exists, it apparently still attempts to sync it before
>> building... Which is quite curious for a tagged release (but I may have
>> misunderstood the process).
> 
> Not sure what you mean. We don't automatically 'hg pull' in the Linux
> directory to pull upstream patches down, or anything like that.
That:
make[2]: entrant dans le répertoire «
/home/guillomovitch/cooker/xen/BUILD/xen-3.2.0 »
[..]
Pulling changes from http://xenbits.xensource.com/linux-2.6.18-xen.hg
into linux-2.6.18-xen.hg.
pulling from http://xenbits.xensource.com/linux-2.6.18-xen.hg
searching for changes
no changes found

However, I just found out than using the repository was just the default
behaviour. The following env variables allow to use a local pristine
kernel tarball:
export XEN_LINUX_SOURCE=tarball
export KETCHUP=/bin/true

It's just a bit difficult to grab in the makefile to find it :/
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

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