aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-04-01 00:15:07 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-03 14:08:54 +0200
commitb6b833e7bc7742e64cdde599c341bff787a888d4 (patch)
tree79765898f9229d8566b3c802ba2598e941c044e9 /support
parent327531543288ac17690a36f3d4f2800f2ecc2362 (diff)
downloadbuildroot-b6b833e7bc7742e64cdde599c341bff787a888d4.tar.gz
buildroot-b6b833e7bc7742e64cdde599c341bff787a888d4.tar.bz2
support/download: warn when there's no .hash file
Instead of silently accepting a missing .hash file, print a warning. This can be grepped from a build log, to find packages that still have no hash, with the long-term goal of adding hashes for all packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/download/check-hash1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/download/check-hash b/support/download/check-hash
index 13a76b8df5..3483077c55 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -33,6 +33,7 @@ base="${3}"
# Does the hash-file exist?
if [ -z "${h_file}" -o ! -f "${h_file}" ]; then
+ printf "WARNING: no hash file for %s\n" "${base}" >&2
exit 0
fi