support/download: quick fix to avoid breaking on custom toolchains
PATCH 1/1 support/download: quick fix to avoid breaking on custom toolchains
When the user selects a custom toolchain to be downloaded, there's no hash for that toolchain, so the download fails, now that hashes are mandatory.
Fix that by simply exiting as if there was no error, until we have a better fix...
Signed-off-by "Yann E. MORIN" <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Gustavo Zacarias <[email protected]>
--- support/download/check-hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
support/download/check-hash +1 -1
@@ -96,5 +96,5 @@ done <"${h_file}" if [ ${nb_checks} -eq 0 ]; then printf "ERROR: No hash found for %s\n" "${base}" >&2 - exit 3 + exit 0 fi
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 1/1 support/download: quick fix to avoid breaking on custom toolchains
Dear Yann E. MORIN,
Quoted 7 lines · Yann E. MORIN
When the user selects a custom toolchain to be downloaded, there's no hash for that toolchain, so the download fails, now that hashes are mandatory.
Fix that by simply exiting as if there was no error, until we have a better fix...
Quoted 6 lines
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Gustavo Zacarias <[email protected]>--- support/download/check-hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com