diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-07 12:16:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-10 12:13:06 +0100 |
commit | 1aa224368f7d4a571395d7bb05684cb305b2b6d1 (patch) | |
tree | f4c785a80a33c5a8ec2e1c3691235074d481dd04 /meta | |
parent | bd3e4bb3732b93567f71eb7795f9b7262a5fd12c (diff) | |
download | poky-1aa224368f7d4a571395d7bb05684cb305b2b6d1.tar.gz |
staging: Fix broken debug code
The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.
(From OE-Core rev: 48af19cdfa92aa9d336da50afe4ed3dde92daecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/staging.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index a1e4cf7090..84e13bab59 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -301,7 +301,7 @@ python extend_recipe_sysroot() { | |||
301 | data = "" | 301 | data = "" |
302 | for dep in deptree: | 302 | for dep in deptree: |
303 | deps = " " + "\n ".join(deptree[dep][3]) + "\n" | 303 | deps = " " + "\n ".join(deptree[dep][3]) + "\n" |
304 | data = "%s:\n %s\n %s\n%s %s\n %s\n" % (deptree[dep][0], deptree[dep][1], deptree[dep][2], deps, deptree[dep][4], deptree[dep][5]) | 304 | data = data + "%s:\n %s\n %s\n%s %s\n %s\n" % (deptree[dep][0], deptree[dep][1], deptree[dep][2], deps, deptree[dep][4], deptree[dep][5]) |
305 | return data | 305 | return data |
306 | 306 | ||
307 | #bb.note("Full dep tree is:\n%s" % print_dep_tree(taskdepdata)) | 307 | #bb.note("Full dep tree is:\n%s" % print_dep_tree(taskdepdata)) |