From: Chris Larson Date: Sun, 27 Aug 2006 22:29:46 +0000 (+0000) Subject: Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it broke when... X-Git-Tag: 2011-1~12736 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d717d4f196fdd2307d97d62197f45500e5e32289;p=openembedded-core.git Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it broke when localpath() included variable references. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index 6f6dc0e30e..6616cb11a9 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass @@ -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"])