From 352522d474cb75992d7865545b6fbe4e157a5f99 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 26 Jul 2012 15:35:00 +0100 Subject: 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 Signed-off-by: Saul Wold --- meta/classes/task.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes/task.bbclass') diff --git a/meta/classes/task.bbclass b/meta/classes/task.bbclass index 22c2fd3744..6ec154a033 100644 --- a/meta/classes/task.bbclass +++ b/meta/classes/task.bbclass @@ -25,3 +25,6 @@ python () { d.setVar('PACKAGES', ' '.join(packages+genpackages)) } +# We don't want to look at shared library dependencies for the +# dbg packages +DEPCHAIN_DBGDEFAULTDEPS = "1" -- cgit v1.2.3