[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] allow user to choose mirror to get kernel source

  • To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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,

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.