mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
staging: Ensure we filter out ourselves
Adding a dependency on ourselves in this function doesn't make sense, the hash may change after hash equivalence is applied. Other code using BB_TASKDEPDATA does handle the self reference correctly (which is there for a reason), update this code to do likewise. (From OE-Core rev: d98b06c9c6f480de1e5167bfe8392e39300fc02c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -651,7 +651,7 @@ python target_add_sysroot_deps () {
|
|||||||
taskdepdata = d.getVar("BB_TASKDEPDATA", False)
|
taskdepdata = d.getVar("BB_TASKDEPDATA", False)
|
||||||
deps = {}
|
deps = {}
|
||||||
for dep in taskdepdata.values():
|
for dep in taskdepdata.values():
|
||||||
if dep[1] == "do_populate_sysroot" and not dep[0].endswith(("-native", "-initial")) and "-cross-" not in dep[0]:
|
if dep[1] == "do_populate_sysroot" and not dep[0].endswith(("-native", "-initial")) and "-cross-" not in dep[0] and dep[0] != pn:
|
||||||
deps[dep[0]] = dep[6]
|
deps[dep[0]] = dep[6]
|
||||||
|
|
||||||
d.setVar("HASHEQUIV_EXTRA_SIGDATA", "\n".join("%s: %s" % (k, deps[k]) for k in sorted(deps.keys())))
|
d.setVar("HASHEQUIV_EXTRA_SIGDATA", "\n".join("%s: %s" % (k, deps[k]) for k in sorted(deps.keys())))
|
||||||
|
|||||||
Reference in New Issue
Block a user