diff options
author | Gaël PORTAY <gael.portay@savoirfairelinux.com> | 2017-11-05 19:46:50 -0500 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-04-01 15:02:53 +0200 |
commit | cf9bf7d28b8a6c55e639b17c90f35ea11cae88ac (patch) | |
tree | 480bcddd18a8da2d24e2d6516e2c72bd34a727f6 /docs/manual/adding-packages-autotools.txt | |
parent | 29b7cc88f401dcc69a085be5af067851f896da58 (diff) | |
download | buildroot-cf9bf7d28b8a6c55e639b17c90f35ea11cae88ac.tar.gz buildroot-cf9bf7d28b8a6c55e639b17c90f35ea11cae88ac.zip |
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>
Diffstat (limited to 'docs/manual/adding-packages-autotools.txt')
0 files changed, 0 insertions, 0 deletions