[oe-commits] Martin Jansa : utils.bbclass: simplify checksum check, prepare for checksums.ini removal

git version control git at git.openembedded.org
Mon Apr 12 18:44:40 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 353b4dc7223f8dd50fcf21d7c031b9dd91a724a2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=353b4dc7223f8dd50fcf21d7c031b9dd91a724a2

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Thu Apr  8 09:47:12 2010 +0200

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 at gmail.com>

---

 classes/base.bbclass  |   24 +-----
 classes/utils.bbclass |  194 +++++++++++++++++++++++--------------------------
 2 files changed, 93 insertions(+), 125 deletions(-)

Diff:   http://gitweb.openembedded.net/?p=openembedded.git/?a=commitdiff;h=353b4dc7223f8dd50fcf21d7c031b9dd91a724a2




More information about the Openembedded-commits mailing list