From 6cbd557cf5bf53003db1d733e1503e280b968988 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 Aug 2010 11:12:25 +0100 Subject: base: Allow unpack to handle localpath=None Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index a3b5a4962..71a8c8b17 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: -- cgit v1.2.3