summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-08-27 22:29:46 +0000
committerChris Larson <kergoth@openedhand.com>2006-08-27 22:29:46 +0000
commitd717d4f196fdd2307d97d62197f45500e5e32289 (patch)
treeb0c0ed53869abaad3aa0993f5ed4c029a357761d /meta
parent438c974339283e4c6f2c994c01204b38634a8bc4 (diff)
downloadopenembedded-core-d717d4f196fdd2307d97d62197f45500e5e32289.tar.gz
openembedded-core-d717d4f196fdd2307d97d62197f45500e5e32289.tar.bz2
openembedded-core-d717d4f196fdd2307d97d62197f45500e5e32289.tar.xz
openembedded-core-d717d4f196fdd2307d97d62197f45500e5e32289.zip
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
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/patch.bbclass2
1 files changed, 1 insertions, 1 deletions
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"])