Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it broke when...
authorChris Larson <kergoth@openedhand.com>
Sun, 27 Aug 2006 22:29:46 +0000 (22:29 +0000)
committerChris Larson <kergoth@openedhand.com>
Sun, 27 Aug 2006 22:29:46 +0000 (22:29 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/patch.bbclass

index 6f6dc0e..6616cb1 100644 (file)
@@ -93,7 +93,7 @@ def patch_init():
                                        patch[param] = PatchSet.defaults[param]
        
                        if patch.get("remote"):
-                               patch["file"] = bb.fetch.localpath(patch["remote"], self.d)
+                               patch["file"] = bb.data.expand(bb.fetch.localpath(patch["remote"], self.d), self.d)
        
                        patch["filemd5"] = md5sum(patch["file"])