From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: Re: building xen without mercury repository access Date: Wed, 06 Feb 2008 23:10:03 +0100 Message-ID: <47AA303B.2080006@inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser a =E9crit : > On 5/2/08 17:54, "Guillaume Rousse" wrote: >=20 >> 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. >=20 > Yes, that's right. Preferably the repository linux-2.6.18-xen.hg is pla= ced > adjacent (at same directory level) to your xen repository. >=20 >> 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 hav= e >> misunderstood the process). >=20 > 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=E9pertoire =AB /home/guillomovitch/cooker/xen/BUILD/xen-3.2.0 =BB [..] 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=3Dtarball export KETCHUP=3D/bin/true It's just a bit difficult to grab in the makefile to find it :/ --=20 Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62