summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-12 16:06:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:32:33 +0000
commitb6c3ea4240e965f69b3cae0b601c8dc8d18c7646 (patch)
tree10dbf1f6c280e08f330eb34b39b6ea68020e6bbb /meta/classes/package.bbclass
parentd9635cc96ad1ddeb944bba375b5b55149867966c (diff)
downloadopenembedded-core-b6c3ea4240e965f69b3cae0b601c8dc8d18c7646.tar.gz
openembedded-core-b6c3ea4240e965f69b3cae0b601c8dc8d18c7646.tar.bz2
openembedded-core-b6c3ea4240e965f69b3cae0b601c8dc8d18c7646.zip
package: check inherit instead of PN to decide if a recipe is a packagegroup
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 93b275c56c..ef80e505b2 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1911,8 +1911,7 @@ python package_depchains() {
for pkg in pkglibdeps:
for k in pkglibdeps[pkg]:
add_dep(pkglibdeplist, k)
- # FIXME this should not look at PN once all task recipes inherit from task.bbclass
- dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (d.getVar('PN', True) or '').startswith('packagegroup-'))
+ dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (bb.data.inherits_class('packagegroup', d)))
for suffix in pkgs:
for pkg in pkgs[suffix]: