]> code.ossystems Code Review - openembedded-core.git/commit
classes/package: reduce dbg package dependencies
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 26 Jul 2012 14:35:00 +0000 (15:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jul 2012 13:07:23 +0000 (14:07 +0100)
commit352522d474cb75992d7865545b6fbe4e157a5f99
tree09fb7d0dffbc6ae5dcb54ea87584711610e55792
parentf9ae930552bc5f1d59f207d4cd0e2b1b4f811dbc
classes/package: reduce dbg package dependencies

Make dbg package dependencies added via DEPCHAIN_POST less aggressive -
only add dependencies on dbg packages for shared library dependencies.
This avoids dragging in extraneous packages (such as eglibc-dbg forcing
bash-dbg to be installed) whilst preserving the ability to easily debug
into shared libraries in use by an application by just requesting the
installation of the single dbg package for that application.

For task recipes however we preserve the previous behaviour, since when
you install task-xxx-dbg you expect the dbg packages for every package
in the task to be installed. Unfortunately not all of our tasks inherit
from task.bbclass so we just use a name match - this should be tidied up
later.

Fixes [YOCTO #2599].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass
meta/classes/task.bbclass