summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-03-17 15:53:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:19 +0000
commitcc2744267f6c6daa594b8c4381d56ac27fe70b81 (patch)
tree873e26c071fa04f2fe54658c600baf2ed5071616 /meta/lib
parentd60ede331558efc93011dee6f157028174b9c5a1 (diff)
downloadpoky-cc2744267f6c6daa594b8c4381d56ac27fe70b81.tar.gz
meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME)
bb.data.expand(x, d) is deprecated API. [YOCTO #10678] (From OE-Core rev: a361babe443da635aed83be46679067457fd6a58) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/patch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index aaa2d3aabd..f1ab3dd809 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -81,7 +81,7 @@ class PatchSet(object):
81 patch[param] = PatchSet.defaults[param] 81 patch[param] = PatchSet.defaults[param]
82 82
83 if patch.get("remote"): 83 if patch.get("remote"):
84 patch["file"] = bb.data.expand(bb.fetch2.localpath(patch["remote"], self.d), self.d) 84 patch["file"] = self.d.expand(bb.fetch2.localpath(patch["remote"], self.d))
85 85
86 patch["filemd5"] = bb.utils.md5_file(patch["file"]) 86 patch["filemd5"] = bb.utils.md5_file(patch["file"])
87 87