[oe-commits] Chris Larson : base.bbclass: fix issue with unpack of patches with apply=no
git version control
git at git.openembedded.org
Thu May 27 20:14:12 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5ff088e9df931a6306086e94570c5b0710ae65c8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5ff088e9df931a6306086e94570c5b0710ae65c8
Author: Chris Larson <chris_larson at mentor.com>
Date: Thu May 27 13:13:52 2010 -0700
base.bbclass: fix issue with unpack of patches with apply=no
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/base.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 8bac509..e0f9184 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":
More information about the Openembedded-commits
mailing list