mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
package: check inherit instead of PN to decide if a recipe is a packagegroup
(From OE-Core rev: b6c3ea4240e965f69b3cae0b601c8dc8d18c7646) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b4df0059e2
commit
604dc1c3e6
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user