# HG changeset patch # User Pascal Bellard # Date 1320935663 -3600 # Node ID 9dcbd66afec8ba927b867993149148dd9935d53b # Parent 95ddbd72ff61c2285961cfcda43cd683620e0d8c linux-source: try some mirrors diff -r 95ddbd72ff61 -r 9dcbd66afec8 linux-source/stuff/get-linux-source --- a/linux-source/stuff/get-linux-source Thu Nov 10 11:20:29 2011 +0000 +++ b/linux-source/stuff/get-linux-source Thu Nov 10 15:34:23 2011 +0100 @@ -6,6 +6,10 @@ VERSION=XXX url=$(cat /usr/src/kernel-patches/slitaz/url) +for i in http://linux-kernel.uio.no/pub http://www.gtlib.gatech.edu/pub/kernel.org http://www.kernel.org/pub ; do + busybox wget -s $url && break + url=$(echo $url | sed "s|.*/linux/kernel|$i/linux/kernel|") +done if [ ! -d $SOURCES_REPOSITORY ]; then mkdir -p $SOURCES_REPOSITORY