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 | |
parent | f3292fa11723c748ef1b4270384abf6d586a822e (diff) | |
download | openembedded-core-6cbd557cf5bf53003db1d733e1503e280b968988.tar.gz openembedded-core-6cbd557cf5bf53003db1d733e1503e280b968988.tar.bz2 openembedded-core-6cbd557cf5bf53003db1d733e1503e280b968988.zip |
base: Allow unpack to handle localpath=None
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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() { 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: |