kernel/linux: add alternate download locations
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Dec 12 00:01:54 2011 +0100 (2011-12-12)
changeset 27984d92888ec7cb
parent 2797 ce8ada0b1d41
child 2799 7a5ee8d36a1d
kernel/linux: add alternate download locations

Some longterm versions are not in the usual directory.
Account for these new locations.

Get rid of the mirror location, now that the main kernel site is
(almost) back to normal operations.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/build/kernel/linux.sh
     1.1 --- a/scripts/build/kernel/linux.sh	Mon Nov 28 21:27:08 2011 +0100
     1.2 +++ b/scripts/build/kernel/linux.sh	Mon Dec 12 00:01:54 2011 +0100
     1.3 @@ -63,10 +63,10 @@
     1.4              3.*)    rel_dir=v3.x;;
     1.5          esac
     1.6          korg_base="http://ftp.kernel.org/pub/linux/kernel/${rel_dir}"
     1.7 -        mirror_base="http://ftp.free.fr/mirrors/ftp.kernel.org//linux/kernel/${rel_dir}"
     1.8 -        CT_GetFile "linux-${CT_KERNEL_VERSION}"                         \
     1.9 -                   "${korg_base}" "${korg_base}/longterm/v${k_ver}"     \
    1.10 -                   "${mirror_base}" "${mirror_base}/longterm/v${k_ver}"
    1.11 +        CT_GetFile "linux-${CT_KERNEL_VERSION}"         \
    1.12 +                   "${korg_base}"                       \
    1.13 +                   "${korg_base}/longterm/v${k_ver}"    \
    1.14 +                   "${korg_base}/longterm
    1.15      fi
    1.16  }
    1.17