summaryrefslogtreecommitdiffstats
path: root/support/download/check-hash
diff options
context:
space:
mode:
Diffstat (limited to 'support/download/check-hash')
-rwxr-xr-xsupport/download/check-hash6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/download/check-hash b/support/download/check-hash
index 678a7ef934..6b0372e3ed 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -99,6 +99,12 @@ while read t h f; do
done <"${h_file}"
if [ ${nb_checks} -eq 0 ]; then
+ case " ${BR_NO_CHECK_HASH_FOR} " in
+ *" ${base} "*)
+ # File explicitly has no hash
+ exit 0
+ ;;
+ esac
printf "ERROR: No hash found for %s\n" "${base}" >&2
exit 0
fi
OpenPOWER on IntegriCloud