mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Use HTTPS for kernel.org sources checkout
HTTPS is more secure and less likely to be blocked by firewalls. The other sources here use HTTPS now, update the kernel to the same.
This commit is contained in:
@@ -178,8 +178,8 @@ function do_main_configuration() {
|
||||
MAINLINE_FIRMWARE_SOURCE='https://mirrors.bfsu.edu.cn/git/linux-firmware.git'
|
||||
;;
|
||||
*)
|
||||
MAINLINE_KERNEL_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git' # "linux-stable" was renamed to "linux"
|
||||
MAINLINE_FIRMWARE_SOURCE='git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git'
|
||||
MAINLINE_KERNEL_SOURCE='https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git' # "linux-stable" was renamed to "linux"
|
||||
MAINLINE_FIRMWARE_SOURCE='https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ function memoized_git_ref_to_info() {
|
||||
declare url="undetermined"
|
||||
case "${git_source}" in
|
||||
|
||||
"git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git")
|
||||
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git")
|
||||
url="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/plain/Makefile?h=${sha1}"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user