Bug 11091

Summary: BR2_PRIMARY_SITE doesn't work (wget is selected every time as backend)
Product: buildroot Reporter: t.prueckl
Component: OtherAssignee: Yann E. MORIN <yann.morin.1998>
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2018.05   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: Patch to fix the descripted issue
Patch to fix the descripted issue #2
Patch to fix the descripted issue
Patch to fix the descripted issue

Description t.prueckl 2018-06-12 09:25:51 UTC
Created attachment 7631 [details]
Patch to fix the descripted issue

The Download doesn't work if the BR2_PRIMARY_SITE isn't a http url.
In my case if use a 'file://' url to get the files from a mounted directory.

Reason: the "|urlencode" is appended to the backend type.
In the file "support/download/dl-wrapper" this string isn't removed when selecting the backend.
Comment 1 t.prueckl 2018-06-12 09:28:47 UTC
Created attachment 7636 [details]
Patch to fix the descripted issue #2
Comment 2 t.prueckl 2018-06-12 09:30:17 UTC
Created attachment 7641 [details]
Patch to fix the descripted issue
Comment 3 t.prueckl 2018-06-13 06:29:01 UTC
Created attachment 7651 [details]
Patch to fix the descripted issue