[Buildroot] [PATCH 7/8 v4] support/download: restore mandatory check of hashes

Yann E. MORIN yann.morin.1998 at free.fr
Wed Apr 8 16:57: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>
Cc: Arnout Vandecappelle <arnout at mind.be>
---
 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 ca81f00..96f5965 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -105,5 +105,5 @@ if [ ${nb_checks} -eq 0 ]; then
         fi
     done
     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