base.bbclass: merge checksums.ini warning from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2890 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz 2007-10-16 14:57:43 +00:00
parent 61d414498f
commit 15080afba3

View File

@ -484,9 +484,9 @@ python base_do_fetch() {
try:
if not base_chk_file(parser, pn, pv,uri, localpath, d):
if type != "file":
bb.note("%s-%s-%s has no section, not checking URI" % (pn,pv,uri))
bb.note("%s-%s: %s has no entry in conf/checksums.ini, not checking URI" % (pn,pv,uri))
else:
bb.debug("%s-%s-%s has no section, not checking URI" % (pn,pv,uri))
bb.debug("%s-%s: %s has no entry in conf/checksums.ini, not checking URI" % (pn,pv,uri))
except Exception:
raise bb.build.FuncFailed("Checksum of '%s' failed" % uri)
}