buildrootschalter/support
Yann E. MORIN 0012b36c14 support/download: return different exit codes for different failures
Return different exit codes depending on the error that occured:

  0: no error (hash file missing, or all hashes match)
  1: unknown option
  2: hash file exists, but at least one hash in error
  3: hash file exists, but no hash for file to check
  4: hash file exists, but at least one hash type unknown

This will be used in a later patch to decide whether the downloaded file
should be kept or removed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-03 14:08:50 +02:00
..
dependencies support/scripts/dependencies.sh: cleanup the output of the 32 bits gcc test 2014-12-08 22:32:35 +01:00
download support/download: return different exit codes for different failures 2015-04-03 14:08:50 +02:00
dummy-external core: allow external Config.in/makefile code to be integrated 2013-12-08 22:39:42 +01:00
gnuconfig Update config.guess and config.sub scripts to latest versions. 2013-10-27 15:29:38 +01:00
kconfig kconfig/lxdialog: get ncurses CFLAGS with pkg-config 2015-01-07 22:26:53 +01:00
legal-info legal-info: infrastructure to collect legally-relevant material 2012-07-17 19:05:49 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc toolchainfile.cmake: only search the sysroot for CMake module 2015-03-16 22:16:45 +01:00
scripts support/graph-depends: allow excluding virtual packages 2015-04-01 20:02:54 +02:00