diff options
author | Holger Freyther <zecke@selfish.org> | 2007-04-01 13:20:07 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-04-01 13:20:07 +0000 |
commit | afc9dea14ffb67902060f32fda79290727b74bec (patch) | |
tree | acc4aaa153a66c98c468f27e7deceecb406b1439 /classes/base.bbclass | |
parent | 1cb8d8aed5fefa4ef8ba125d4add52025e0bb584 (diff) |
classes/base.bbclass: [ftp://ftp.trolltech.com/qt/source/qtopia-core-4.3.0beta.tar.gz] is good enough
src_uri as section/groups are unique enough as well. Most of the time
(almost always) scoping PN (or PN+PV) is not necessary and in this case
the SRC_URI is good enough. Richard thank you for saying the obvious
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 880295fc30..2ea5251609 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -32,6 +32,9 @@ def base_chk_file(parser, pn, pv, src_uri, localpath): elif parser.has_section(pn_src): md5 = parser.get(pn_src, "md5") sha256 = parser.get(pn_src, "sha256") + elif parser.has_section(src_uri): + md5 = parser.get(src_uri, "md5") + sha256 = parser.get(src_uri, "sha256") else: return False #raise Exception("Can not find a section for '%s' '%s' and '%s'" % (pn,pv,src_uri)) |