summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-05-27 13:13:52 -0700
committerChris Larson <chris_larson@mentor.com>2010-05-27 13:13:52 -0700
commit5ff088e9df931a6306086e94570c5b0710ae65c8 (patch)
tree8be01cb1aeb7a98836f5e5c64e5e2835adf8f066
parent8c04a982e9568762afa7d868670756332cd837ce (diff)
base.bbclass: fix issue with unpack of patches with apply=no
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
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":