utils.bbclass: simplify checksum check, prepare for checksums.ini removal
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 8 Apr 2010 07:47:12 +0000 (09:47 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 12 Apr 2010 18:43:51 +0000 (20:43 +0200)
commit353b4dc7223f8dd50fcf21d7c031b9dd91a724a2
tree443bb7955e6e373004d58588a4bf1c36a8a35fc6
parentf529623b2b32ea132680f009b32e8e6d8b2bb3c9
utils.bbclass: simplify checksum check, prepare for checksums.ini removal

* show note, when there are checksums only in checksums.ini (prepare for
  script for moving all to recipes)
* parse checksums.ini only when there is no checksum in recipe (could be
  faster, but for more checked items in SRC_URI it is parsed repeatedly)
* if one checksum doesn't match then count and show both (md5 as well as
  sha256) - usefull for copy&paste checksums for new recipe.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
classes/base.bbclass
classes/utils.bbclass