base.bbclass: make do_unpack also not unpack when 'apply' url parameter is set
authorChris Larson <chris_larson@mentor.com>
Wed, 26 May 2010 19:27:32 +0000 (12:27 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 26 May 2010 19:28:38 +0000 (12:28 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass

index 3c854c6..8bac509 100644 (file)
@@ -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":