From: Chris Larson Date: Wed, 26 May 2010 19:27:32 +0000 (-0700) Subject: base.bbclass: make do_unpack also not unpack when 'apply' url parameter is set X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cffbaec07c0ae0a29ec8d5606c604d75f135ce8;p=openembedded.git base.bbclass: make do_unpack also not unpack when 'apply' url parameter is set Signed-off-by: Chris Larson --- diff --git a/classes/base.bbclass b/classes/base.bbclass index 3c854c6e7b..8bac509115 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":