summaryrefslogtreecommitdiff
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a3b5a49621..71a8c8b176 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -317,6 +317,8 @@ python base_do_unpack() {
local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
except bb.MalformedUrl, e:
raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
+ if local is None:
+ continue
local = os.path.realpath(local)
ret = oe_unpack_file(local, localdata, url)
if not ret: