]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Add additional debugging for dependencies
authorMark Hatle <mark.hatle@windriver.com>
Wed, 23 May 2012 20:24:37 +0000 (15:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 May 2012 10:17:40 +0000 (11:17 +0100)
commit257b9e371143421b78a6991ef5401e564918c164
tree9bc12af4a14268149aef15978fe8eb0450757a91
parentfad8456ccfbc7b182465fc7f6508c004d106bfdb
package.bbclass: Add additional debugging for dependencies

When trying to understand why a QA wanring such as:

ERROR: QA Issue: foo rdepends on bar-dev

it is very difficult to figure out where the bar-dev dependency
comes from, since many of them are added dynamically.

This adds a debug statement that says which dependency adds an
rdepends to the system.

Also, while doing this work, it was noted that the same dependencies
were being scanned for over and over.  Instead we shorten the list
by only added to the dep list if the dependency was not already there.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/classes/package.bbclass