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] 3.4.0 wants to download Linux despite its presence

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] 3.4.0 wants to download Linux despite its presence
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Wed, 20 May 2009 15:57:21 +0100
Delivery-date: Wed, 20 May 2009 07:59:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A13FB8E.4060800@xxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <4A13FB8E.4060800@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Michael David Crawford writes ("[Xen-devel] 3.4.0 wants to download Linux 
despite its presence"):
> However, no matter what I try, the build hits the Mercurial server to 
> download the Linux kernel sources.  I have tried a number of things, but 
> I am completely unable to prevent the download.

The build system is rather unfortunate.  You can completely prevent
the Xen build from building a kernel by setting XKERNELS=''
You'll have to build the kernel yourself then of course.

> May I respectfully suggest that it's A REALLY BAD IDEA to automatically 
> download dependencies of you find them missing?

Sadly it's not just the kernel which is done this way.  There are a
handful of tarballs of various kinds too.  If you want to deal with
those offline too you'll find that you can set XEN_EXTFILES_URL.

> Much better would be to just list what the dependencies are in the 
> README, as well as where to get them.  If the build finds them missing, 
> then it should just say so and stop.

I would actually agree.  Having a part of the build system which
brings all the pieces together automatically for you would be good,
but it would be sensible for xen-unstable.hg to be less enthusiastic
about downloading stuff.

I'm not sure the community really agrees with me though.

Ian.

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