[oe-commits] Chris Larson : base.bbclass: make do_unpack also not unpack when 'apply' url parameter is set
git version control
git at git.openembedded.org
Wed May 26 19:28:46 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8cffbaec07c0ae0a29ec8d5606c604d75f135ce8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8cffbaec07c0ae0a29ec8d5606c604d75f135ce8
Author: Chris Larson <chris_larson at mentor.com>
Date: Wed May 26 12:27:32 2010 -0700
base.bbclass: make do_unpack also not unpack when 'apply' url parameter is set
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 3c854c6..8bac509 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 'patch' in parm:
+ if not 'apply' in parm and not 'patch' in parm:
# 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