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] [PATCH] allow user to choose mirror to get kernel source

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] allow user to choose mirror to get kernel source
From: aq <aquynh@xxxxxxxxx>
Date: Sat, 7 May 2005 23:10:39 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 07 May 2005 14:10:13 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BVaze5yMb0WNCacU0OYZJ4obhuOCOp1fu72g3SMEzFeUagnoAKGnKzHDFZfUMkA2EP9qZaODU8RzRSLsBGZibVX/RDvXF3Cb3txanXVVMc/O62eJ8NG0/qxkvbNTAos60HjAitvhiGm6HCKyU8wUsVNdVhx5n2DVlD7bsK1Neak=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1DUM0O-0007pF-00@xxxxxxxxxxxxxxxxx>
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: <9cde8bff0505041357500f7feb@xxxxxxxxxxxxxx> <E1DUM0O-0007pF-00@xxxxxxxxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/7/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> > hello,
> >
> > This patch allows user to choose mirror to get linux kernel source
> > instead of getting it from kernel.org (which set as default)
> >
> > # diffstat xen.patch
> >  Config.mk             |    3 +++
> >  buildconfigs/Rules.mk |    2 +-
> >  2 files changed, 4 insertions(+), 1 deletion(-)
> >
> > Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

> Isn't it just as easy to change the address directly in
> buildconfigs/Rules.mk? 

hmm.. I dont think so. Just declare to everyone that if they want to
customize a little bit the building process, they can come there (I
suppose that Config.mk is fine for this purpose) to mess up, and they
dont need to look further. Isnt it much easier for users if you put
this variable (and those alike) to one place, and for all needs, users
can go there to customize them?

Besides, we should not expect that everyone want/be-able to hack up
the code to modify the right place to get this job done. That is
cleary more difficult than modifying a variable.

>Alternatively you can download the kernel from
> wherever you like and place it at the root of the build tree, or in
> the immediate parent directory, and the build process will
> automatically pick it up rather than contact www.kernel.org.

Then you want your users to do some other things before compiling?
That is a little bit more incovenient, isnt it?

My idea is that if users have a better mirror than kernel.org, they
can modify this variable (easily, without needing to mess with
anything else) and go on building Xen. Just imagine one needs to
install dozen systems, they would get the kernel source and put it in
a local server, then let all others to get it from there.

So I think it is worthwhy. Or there is no harm at all to have this variable.

Anyway, if you apply this patch, I think other names (like
LINUX_KERNEL_MIRROR) might be better than "KERNEL_REPO".

Thank you,
aq

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

<Prev in Thread] Current Thread [Next in Thread>