From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Tue, 14 Apr 2015 01:46:46 +0200 Subject: [Buildroot] [PATCH 7/8 v4] support/download: restore mandatory check of hashes In-Reply-To: References: Message-ID: <552C5566.60903@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 08/04/15 18:57, Yann E. MORIN wrote: > Now that custom external toolchains to be downloaded proprely instruct properly > to not fail on a missing hash, restore the mandatory hash check for > everything else. > > Signed-off-by: "Yann E. MORIN" > Cc: Thomas Petazzoni > Cc: Gustavo Zacarias > Cc: Arnout Vandecappelle Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Regards, Arnout > --- > 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 > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F