boot/uboot: Change from FTP to HTTP for official releases
PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases
The HTTP URL seems to be more reliable and quicker for download than FTP. FTP may also be a blocked protocol on some sites and in CI/CD setups.
--- boot/uboot/uboot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
boot/uboot/uboot.mk +1 -1
@@ -33,7 +33,7 @@ UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = svn else # Handle stable official U-Boot versions -UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot +UBOOT_SITE = http://ftp.denx.de/pub/u-boot UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2 endif
Signature · 1 line
2.25.1
PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases
Hi Joachim,
Quoted 13 lines · Joachim Nilsson
The HTTP URL seems to be more reliable and quicker for download than FTP. FTP may also be a blocked protocol on some sites and in CI/CD setups.
Signed-off-by Joachim Nilsson <[email protected]>--- boot/uboot/uboot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)boot/uboot/uboot.mk +0
-0
boot/uboot/uboot.mk UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) · line 36
Quoted 5 lines
boot/uboot/uboot.mk +1
-1@@ -33,7 +33,7 @@ UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = svn else # Handle stable official U-Boot versions -UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot +UBOOT_SITE = http://ftp.denx.de/pub/u-boot
This URL redirects to https. Better use https directly.
baruch
Quoted 2 lines
boot/uboot/uboot.mk +0
-0UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2 endif
Signature · 3 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases
Quoted 4 lines · Baruch Siach
boot/uboot/uboot.mk UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) · line 36
Quoted 2 lines · Joachim Nilsson
boot/uboot/uboot.mk +1
-1-UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot +UBOOT_SITE = http://ftp.denx.de/pub/u-bootThis URL redirects to https. Better use https directly.
Argh! Thanks for taking the time to audit this, Baruch! :) I'll send a v2 patch shortly.
Regards
/Joachim