[general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR
MAINLINE_MIRROR=google, use google provided mirror MAINLINE_MIRROR=tuna, use tsinghua provided mirror leave it empty, use official git.kernel.org
This commit is contained in:
parent
be0ec27ded
commit
d8d0aae76e
@ -61,8 +61,10 @@ fi
|
||||
[[ $ROOTFS_TYPE == nfs ]] && FIXED_IMAGE_SIZE=64
|
||||
|
||||
# used by multiple sources - reduce code duplication
|
||||
if [[ $USE_MAINLINE_GOOGLE_MIRROR == yes ]]; then
|
||||
if [[ $MAINLINE_MIRROR == 'google' ]]; then
|
||||
MAINLINE_KERNEL_SOURCE='https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable'
|
||||
elif [[ $MAINLINE_MIRROR == 'tuna' ]]; then
|
||||
MAINLINE_KERNEL_SOURCE='https://mirrors.tuna.tsinghua.edu.cn/git/linux-stable.git'
|
||||
else
|
||||
MAINLINE_KERNEL_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user