Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v7 5/8] support/download: add possibility to not fail on missing hash
Date: Thu, 23 Apr 2015 02:44:08 -0300	[thread overview]
Message-ID: <553886A8.9020304@zacarias.com.ar> (raw)
In-Reply-To: <1429740521-31943-6-git-send-email-arnout@mind.be>

On 04/22/2015 07:08 PM, Arnout Vandecappelle (Essensium/Mind) wrote:

> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> In very constrained cases, it might be needed to not fail if a hash is
> missing. This is notably the case for custom external toolchains to be
> downloaded, because we do have a .hash file for external toolchains,
> but we obviously can not have hashes for all existing custom toolchains
> (he, "custom"!).
> 
> So, add a way to avoid failing in that case.
> 
> From the Makefile, we export the list of files for which not to check
> the hash. Then, from the check-hash script, if no check was done, and
> the file we were trying to match in in this exclusion list, we just exit
> without error.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

  reply	other threads:[~2015-04-23  5:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 22:08 [Buildroot] [PATCH v7 0/8] toolchain: better handle hashes (branch yem/dl-hash-toolchains) Arnout Vandecappelle
2015-04-22 22:08 ` [Buildroot] [PATCH v7 1/8] package/gcc: add hashes Arnout Vandecappelle
2015-04-23  5:36   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 2/8] package/binutils: " Arnout Vandecappelle
2015-04-23  5:37   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 3/8] package/uclibc: add missing hash for eXtensa Arnout Vandecappelle
2015-04-23  5:38   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 4/8] uclibc: update hash for arc Arnout Vandecappelle
2015-04-23  5:48   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 5/8] support/download: add possibility to not fail on missing hash Arnout Vandecappelle
2015-04-23  5:44   ` Gustavo Zacarias [this message]
2015-04-22 22:08 ` [Buildroot] [PATCH v7 6/8] toolchain/external: ignore missing hash for custom downloaded toolchain Arnout Vandecappelle
2015-04-23  5:43   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 7/8] package/uclibc: ignore missing hash for snapshots Arnout Vandecappelle
2015-04-23  5:43   ` Gustavo Zacarias
2015-04-22 22:08 ` [Buildroot] [PATCH v7 8/8] support/download: restore mandatory check of hashes Arnout Vandecappelle
2015-04-23  5:44   ` Gustavo Zacarias
2015-04-25 12:26 ` [Buildroot] [PATCH v7 0/8] toolchain: better handle hashes (branch yem/dl-hash-toolchains) Thomas Petazzoni
2015-04-28 19:17   ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=553886A8.9020304@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox