base.bbclass: not use bb.fetch.urldata in do_unpack() for traversing SRC_URIs
authorDenys Dmytriyenko <denis@denix.org>
Mon, 27 Sep 2010 08:21:04 +0000 (08:21 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Mon, 27 Sep 2010 19:33:17 +0000 (15:33 -0400)
commit661658f62bf4c76b328d67e1aa252a57841b312d
tree6a6fd630d5160af661b68988d36cbcbf8da12fca
parent31fbeac34133fe4d1baad4464ba165db037b7f84
base.bbclass: not use bb.fetch.urldata in do_unpack() for traversing SRC_URIs

bb.fetch.urldata contains cached SRC_URIs, but in case SRC_URI is altered by
amend.inc or machine override, the original SRC_URI is not removed from the
cache, leading to calling do_unpack() multiple times on original and modified
versions of the file. Don't rely on bb.fetch.urldata and traverse SRC_URIs
directly.

Some background and details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/36703

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
classes/base.bbclass