summaryrefslogtreecommitdiff
path: root/scripts/build/kernel
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-12-11 23:01:54 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-12-11 23:01:54 (GMT)
commit9b92f56f2f8793224ec21689896885163e9c8301 (patch)
treeed7d716fc9e13f85f58af587dd05fe2c3a3c7eb8 /scripts/build/kernel
parent697c55b7977919dca64cfb031bdf0916699f62ea (diff)
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>
Diffstat (limited to 'scripts/build/kernel')
-rw-r--r--scripts/build/kernel/linux.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
index 12fbe6c..4d4ffa0 100644
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -63,10 +63,10 @@ do_kernel_get() {
3.*) rel_dir=v3.x;;
esac
korg_base="http://ftp.kernel.org/pub/linux/kernel/${rel_dir}"
- mirror_base="http://ftp.free.fr/mirrors/ftp.kernel.org//linux/kernel/${rel_dir}"
- CT_GetFile "linux-${CT_KERNEL_VERSION}" \
- "${korg_base}" "${korg_base}/longterm/v${k_ver}" \
- "${mirror_base}" "${mirror_base}/longterm/v${k_ver}"
+ CT_GetFile "linux-${CT_KERNEL_VERSION}" \
+ "${korg_base}" \
+ "${korg_base}/longterm/v${k_ver}" \
+ "${korg_base}/longterm
fi
}