[Buildroot] [PATCH v7 8/8] support/download: restore mandatory check of hashes
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Wed Apr 22 22:08:41 UTC 2015
From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Now that custom external toolchains to be downloaded properly 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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <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 6b0372e..c1ff53c 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -106,5 +106,5 @@ if [ ${nb_checks} -eq 0 ]; then
;;
esac
printf "ERROR: No hash found for %s\n" "${base}" >&2
- exit 0
+ exit 3
fi
--
2.1.4
More information about the buildroot
mailing list