diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 11:12:25 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 11:35:11 +0100 |
commit | 6cbd557cf5bf53003db1d733e1503e280b968988 (patch) | |
tree | 316f8d9818fa3d4d4c6752f6005afc4a46ca0535 /meta/classes/base.bbclass | |
parent | f3292fa11723c748ef1b4270384abf6d586a822e (diff) | |
download | poky-6cbd557cf5bf53003db1d733e1503e280b968988.tar.gz |
base: Allow unpack to handle localpath=None
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
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() { | |||
317 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) | 317 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) |
318 | except bb.MalformedUrl, e: | 318 | except bb.MalformedUrl, e: |
319 | raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) | 319 | raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) |
320 | if local is None: | ||
321 | continue | ||
320 | local = os.path.realpath(local) | 322 | local = os.path.realpath(local) |
321 | ret = oe_unpack_file(local, localdata, url) | 323 | ret = oe_unpack_file(local, localdata, url) |
322 | if not ret: | 324 | if not ret: |