From d717d4f196fdd2307d97d62197f45500e5e32289 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 27 Aug 2006 22:29:46 +0000 Subject: 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 --- meta/classes/patch.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index 6f6dc0e30..6616cb11a 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"]) -- cgit v1.2.3