| Summary: |
az fetcher not working as expected when using AZ_SAS, i need to prepend it with a ? |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Robbin Van Damme <robbinvandamme> |
| Component: |
bitbake | Assignee: |
Robbin Van Damme <robbinvandamme> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie
|
| Version: |
5.0.9 | |
|
| Target Milestone: |
5.3 | |
|
| Hardware: |
x86 | |
|
| OS: |
arm64 | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
According to the docs we need to put our sas toking inside the AZ_SAS variable and add the use to the SRC_URI. That does not work since in the lib/bb/fetch2/az.py the sas token gets appended to the url without a "?" in between to separate the query parameters from the url. if az_sas: azuri = '%s%s%s%s' % ('https://', ud.host, ud.path, az_sas) This results in something like: https://some_app.zipsp=r&st=date&se=date&spr=https&sv=date&sr=c&sig=some_sig' but it should be https://some_app.zip?sp=r&st=date&se=date&spr=https&sv=date&sr=c&sig=some_sig' Code could be something like: if az_sas: azuri = '%s%s%s?%s' % ('https://', ud.host, ud.path, az_sas) For now i just added the ? as prefix to the AZ_SAS inside my recipe. Kind regards, Robbin