This mirror is already attempted in case the other fails. Doesn't matter though 
since it doesn't work anyway (404 error). Discovered through "make download 
V=s" Output:

make[2]: Entering directory 
'/home/mangix/devstuff/openwrt/package/boot/uboot-envtools'
mkdir -p /home/mangix/devstuff/openwrt/dl
SHELL= flock /home/mangix/devstuff/openwrt/tmp/.u-boot-2015.10.tar.bz2.flock -c 
'       /home/mangix/devstuff/openwrt/scripts/download.pl 
"/home/mangix/devstuff/openwrt/dl" "u-boot-2015.10.tar.bz2" 
"bdc68d5f9455ad933b059c735d983f2c8b6b552dafb062e5ff1444f623021955" "" 
"http://mirror2.openwrt.org/sources"; "ftp://ftp.denx.de/pub/u-boot";    '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure 
http://mirror2.openwrt.org/sources/u-boot-2015.10.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure 
ftp://ftp.denx.de/pub/u-boot/u-boot-2015.10.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9.9M  100  9.9M    0     0  2034k      0  0:00:05  0:00:05 --:--:-- 2317k
make[2]: Leaving directory 
'/home/mangix/devstuff/openwrt/package/boot/uboot-envtools'

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 package/boot/uboot-envtools/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/boot/uboot-envtools/Makefile 
b/package/boot/uboot-envtools/Makefile
index 57a2ec5393..54ba425b31 100644
--- a/package/boot/uboot-envtools/Makefile
+++ b/package/boot/uboot-envtools/Makefile
@@ -14,9 +14,7 @@ PKG_RELEASE:=1
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/u-boot-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=\
-       http://mirror2.openwrt.org/sources \
-       ftp://ftp.denx.de/pub/u-boot
+PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
 PKG_HASH:=bdc68d5f9455ad933b059c735d983f2c8b6b552dafb062e5ff1444f623021955
 
 PKG_BUILD_DEPENDS:=fstools
-- 
2.14.3


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to