From 5ff088e9df931a6306086e94570c5b0710ae65c8 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 27 May 2010 13:13:52 -0700 Subject: base.bbclass: fix issue with unpack of patches with apply=no Signed-off-by: Chris Larson --- classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/base.bbclass b/classes/base.bbclass index 8bac509115..e0f9184f58 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -207,7 +207,7 @@ def oe_unpack_file(file, data, url = None): cmd = 'cp -pPR %s %s/%s/' % (file, os.getcwd(), destdir) else: (type, host, path, user, pswd, parm) = bb.decodeurl(url) - if not 'apply' in parm and not 'patch' in parm: + if not 'patch' in parm and parm.get('apply') != 'yes': # The "destdir" handling was specifically done for FILESPATH # items. So, only do so for file:// entries. if type == "file": -- cgit 1.2.3-korg