kumquat-buildroot/support/download
Gaël PORTAY cf9bf7d28b support/download: keep files downloaded without hash
In the situation where the hash is missing from the hash file, the
dl-wrapper downloads the file again and again until the developer
specifies the hash to complete the download step.

To avoid this situation, the freshly-downloaded file is not removed
anymore after a successful download.

After this change, the behaviour is as follows:

- Hash file doesn't exist, or file is in BR_NO_CHECK_HASH_FOR
  => always succeeds.

- Hash file exists, but file is not present
  => file is NOT removed, build is terminated immediately (i.e.
     secondary site is not tried).

- Hash file exists, file is present, but hash mismatch
  => file is removed, secondary site is tried.
  => If all primary/secondary site downloads or hash checks fail, the
     build is terminated.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Arnout: extend commit log]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2018-04-01 15:02:53 +02:00
..
bzr support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00
check-hash support/download: fix check_one_hash description 2017-09-19 22:11:30 +02:00
cp support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00
cvs support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00
dl-wrapper support/download: keep files downloaded without hash 2018-04-01 15:02:53 +02:00
git download/git: force gzip compression level 6 2017-09-12 23:36:13 +02:00
hg support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00
scp support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00
svn support/download: svn non-interactive in BR2_SVN 2017-11-26 14:18:57 +01:00
wget support/download: Add support to pass options directly to downloaders 2016-08-23 14:59:01 +02:00