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-changelog

[Xen-changelog] This patch allows user to choose mirror to get linux ker

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default)
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Sun, 19 Jun 2005 10:28:07 +0000
Delivery-date: Tue, 21 Jun 2005 08:03:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1718.2.1, 2005/06/19 11:28:07+01:00, iap10@xxxxxxxxxxxxxxxxx

        This patch allows user to choose mirror to get linux kernel source 
instead of getting it from kernel.org (which set as default)



 Config.mk             |    3 +++
 buildconfigs/Rules.mk |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)


diff -Nru a/Config.mk b/Config.mk
--- a/Config.mk 2005-06-21 04:04:18 -04:00
+++ b/Config.mk 2005-06-21 04:04:18 -04:00
@@ -31,3 +31,6 @@
 
 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
+
+# Choose the best mirror to download linux kernel
+KERNEL_REPO = http://www.kernel.org
diff -Nru a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     2005-06-21 04:04:18 -04:00
+++ b/buildconfigs/Rules.mk     2005-06-21 04:04:18 -04:00
@@ -27,7 +27,7 @@
 linux-%.tar.bz2: override _LINUX_VDIR = $(word 1,$(subst ., ,$*)).$(word 
2,$(subst ., ,$*))
 linux-%.tar.bz2:
        @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
-       wget http://www.kernel.org/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@
+       wget $(KERNEL_REPO)/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@
 
 # Expand NetBSD release to NetBSD version
 NETBSD_RELEASE  ?= 2.0

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default), BitKeeper Bot <=