mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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>
This commit is contained in:
parent
697c55b797
commit
9b92f56f2f
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user