mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
MAINLINE_GOOGLE_MIRROR: fix to https://kernel.googlesource.com/*/linux-stable.git
This commit is contained in:
@@ -206,7 +206,7 @@ function do_main_configuration() {
|
||||
|
||||
case $MAINLINE_MIRROR in
|
||||
google)
|
||||
declare -g -r MAINLINE_KERNEL_SOURCE='https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable'
|
||||
declare -g -r MAINLINE_KERNEL_SOURCE='https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git'
|
||||
declare -g -r MAINLINE_FIRMWARE_SOURCE='https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git'
|
||||
;;
|
||||
tuna)
|
||||
|
||||
@@ -118,7 +118,7 @@ function memoized_git_ref_to_info() {
|
||||
url="${git_source}/plain/Makefile?h=${sha1}"
|
||||
;;
|
||||
|
||||
"https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable" | "https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git" | "https://mirrors.bfsu.edu.cn/git/linux-stable.git")
|
||||
"https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git" | "https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git" | "https://mirrors.bfsu.edu.cn/git/linux-stable.git")
|
||||
# for mainline kernel source, only the origin source support curl
|
||||
url="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/Makefile?h=${sha1}"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user