Re: [LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-27 Thread Rosen Penev
On Thu, Apr 26, 2018 at 9:35 PM, John Crispin  wrote:
>
>
> On 19/04/18 22:36, Rosen Penev wrote:
>>
>> The first mirror is dead and the second is FTP, which can be unreliable at
>> times.
>>
>> Tested on Ubuntu 16.04 WSL.
>>
>> Signed-off-by: Rosen Penev 
>> ---
>>   package/boot/uboot-envtools/Makefile | 4 +---
>>   package/boot/uboot-xburst/Makefile   | 4 +---
>>   2 files changed, 2 insertions(+), 6 deletions(-)
>>
>> diff --git a/package/boot/uboot-envtools/Makefile
>> b/package/boot/uboot-envtools/Makefile
>> index c8eafbe..5f3584d 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 \
>
>
> dont drop mirror2 please just switch it to https
what's the point of that? It gets attempted anyways.
> John
>
>
>> -   ftp://ftp.denx.de/pub/u-boot
>> +PKG_SOURCE_URL:=http://ftp.denx.de/pub/u-boot
>>
>> PKG_HASH:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
>> PKG_BUILD_DEPENDS:=fstools
>> diff --git a/package/boot/uboot-xburst/Makefile
>> b/package/boot/uboot-xburst/Makefile
>> index 413289a..20138e0 100644
>> --- a/package/boot/uboot-xburst/Makefile
>> +++ b/package/boot/uboot-xburst/Makefile
>> @@ -14,9 +14,7 @@ PKG_RELEASE:=1
>>
>> PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
>>   PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
>> -PKG_SOURCE_URL:= \
>> -   http://mirror2.openwrt.org/sources \
>> -   ftp://ftp.denx.de/pub/u-boot
>> +PKG_SOURCE_URL:=http://ftp.denx.de/pub/u-boot
>>
>> PKG_HASH:=6d094cafa7ecea8b671fbdcd21130b6a4f5744fc47dd263e101ed5d3629dffd4
>>   PKG_TARGETS:=bin
>>
>
>

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


Re: [LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-26 Thread John Crispin



On 19/04/18 22:36, Rosen Penev wrote:

The first mirror is dead and the second is FTP, which can be unreliable at 
times.

Tested on Ubuntu 16.04 WSL.

Signed-off-by: Rosen Penev 
---
  package/boot/uboot-envtools/Makefile | 4 +---
  package/boot/uboot-xburst/Makefile   | 4 +---
  2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/package/boot/uboot-envtools/Makefile 
b/package/boot/uboot-envtools/Makefile
index c8eafbe..5f3584d 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 \


dont drop mirror2 please just switch it to https
    John


-   ftp://ftp.denx.de/pub/u-boot
+PKG_SOURCE_URL:=http://ftp.denx.de/pub/u-boot
  PKG_HASH:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
  
  PKG_BUILD_DEPENDS:=fstools

diff --git a/package/boot/uboot-xburst/Makefile 
b/package/boot/uboot-xburst/Makefile
index 413289a..20138e0 100644
--- a/package/boot/uboot-xburst/Makefile
+++ b/package/boot/uboot-xburst/Makefile
@@ -14,9 +14,7 @@ PKG_RELEASE:=1
  
  PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:= \
-   http://mirror2.openwrt.org/sources \
-   ftp://ftp.denx.de/pub/u-boot
+PKG_SOURCE_URL:=http://ftp.denx.de/pub/u-boot
  PKG_HASH:=6d094cafa7ecea8b671fbdcd21130b6a4f5744fc47dd263e101ed5d3629dffd4
  PKG_TARGETS:=bin
  



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


[LEDE-DEV] [PATCH] u-boot: Switch to HTTP for downloads

2018-04-19 Thread Rosen Penev
The first mirror is dead and the second is FTP, which can be unreliable at 
times.

Tested on Ubuntu 16.04 WSL.

Signed-off-by: Rosen Penev 
---
 package/boot/uboot-envtools/Makefile | 4 +---
 package/boot/uboot-xburst/Makefile   | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/package/boot/uboot-envtools/Makefile 
b/package/boot/uboot-envtools/Makefile
index c8eafbe..5f3584d 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:=http://ftp.denx.de/pub/u-boot
 PKG_HASH:=7e7477534409d5368eb1371ffde6820f0f79780a1a1f676161c48442cb303dfd
 
 PKG_BUILD_DEPENDS:=fstools
diff --git a/package/boot/uboot-xburst/Makefile 
b/package/boot/uboot-xburst/Makefile
index 413289a..20138e0 100644
--- a/package/boot/uboot-xburst/Makefile
+++ b/package/boot/uboot-xburst/Makefile
@@ -14,9 +14,7 @@ PKG_RELEASE:=1
 
 
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:= \
-   http://mirror2.openwrt.org/sources \
-   ftp://ftp.denx.de/pub/u-boot
+PKG_SOURCE_URL:=http://ftp.denx.de/pub/u-boot
 PKG_HASH:=6d094cafa7ecea8b671fbdcd21130b6a4f5744fc47dd263e101ed5d3629dffd4
 PKG_TARGETS:=bin
 
-- 
2.7.4


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