From patchwork Tue Apr 5 20:39:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] base: when using zip files, depend on unzip-native Date: Tue, 05 Apr 2011 20:39:57 -0000 From: Christopher Larson X-Patchwork-Id: 1963 Message-Id: To: openembedded-core@lists.openembedded.org Cc: Chris Larson From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 0a1aebf..7a11c9a 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -269,7 +269,9 @@ def set_uri_depends(d): fetch_depends.add('osc-native') root, ext = os.path.splitext(uri.path) - if ext == '.xz': + if ext == '.zip': + unpack_depends.add('unzip-native') + elif ext == '.xz': unpack_depends.add('xz-native') fdepends = d.getVarFlag('do_fetch', 'depends') or ''