From: Chris Larson Date: Thu, 27 May 2010 20:13:52 +0000 (-0700) Subject: base.bbclass: fix issue with unpack of patches with apply=no X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ff088e9df931a6306086e94570c5b0710ae65c8;p=openembedded.git base.bbclass: fix issue with unpack of patches with apply=no Signed-off-by: Chris Larson --- 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":