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:
Andrew Davis
2023-05-17 13:17:16 -05:00
committed by Igor
parent b9056190b8
commit 92aa7b3de2
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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}"
;;