summaryrefslogtreecommitdiffstats
path: root/meta/classes/task.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-26 15:35:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 09:20:52 +0100
commita5227e205b4b22fd27989a3ca6bd722d35ac1435 (patch)
tree01cbaba67206adb74fb7a3d80117a92c30f25300 /meta/classes/task.bbclass
parent58a7be460c9affe79b0c3d33abc79017e463b9a3 (diff)
downloadpoky-a5227e205b4b22fd27989a3ca6bd722d35ac1435.tar.gz
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]. (From OE-Core rev: 352522d474cb75992d7865545b6fbe4e157a5f99) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/task.bbclass')
-rw-r--r--meta/classes/task.bbclass3
1 files changed, 3 insertions, 0 deletions
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 () {
25 d.setVar('PACKAGES', ' '.join(packages+genpackages)) 25 d.setVar('PACKAGES', ' '.join(packages+genpackages))
26} 26}
27 27
28# We don't want to look at shared library dependencies for the
29# dbg packages
30DEPCHAIN_DBGDEFAULTDEPS = "1"