[Buildroot] [PATCH 3/4 v2] support/download: restore mandatory check of hashes
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Apr 5 20:56:22 UTC 2015
Now that custom external toolchains to be downloaded proprely instruct
to not fail on a missing hash, restore the mandatory hash check for
everything else.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
support/download/check-hash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/download/check-hash b/support/download/check-hash
index 1276290..c24d26b 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -100,5 +100,5 @@ if [ ${nb_checks} -eq 0 ]; then
exit 0
fi
printf "ERROR: No hash found for %s\n" "${base}" >&2
- exit 0
+ exit 3
fi
--
1.9.1
More information about the buildroot
mailing list