diff options
author | Ross Burton <ross.burton@intel.com> | 2016-02-12 16:06:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:32:57 +0000 |
commit | 604dc1c3e6144f26566cc5096ac54f4392688c9a (patch) | |
tree | cf743ab665e1ae7d871013f074630c97fc144de9 | |
parent | b4df0059e2a52601b55e3d8214c1e7184afc99b7 (diff) | |
download | poky-604dc1c3e6144f26566cc5096ac54f4392688c9a.tar.gz |
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>
-rw-r--r-- | meta/classes/package.bbclass | 3 |
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() { | |||
1911 | for pkg in pkglibdeps: | 1911 | for pkg in pkglibdeps: |
1912 | for k in pkglibdeps[pkg]: | 1912 | for k in pkglibdeps[pkg]: |
1913 | add_dep(pkglibdeplist, k) | 1913 | add_dep(pkglibdeplist, k) |
1914 | # FIXME this should not look at PN once all task recipes inherit from task.bbclass | 1914 | dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (bb.data.inherits_class('packagegroup', d))) |
1915 | dbgdefaultdeps = ((d.getVar('DEPCHAIN_DBGDEFAULTDEPS', True) == '1') or (d.getVar('PN', True) or '').startswith('packagegroup-')) | ||
1916 | 1915 | ||
1917 | for suffix in pkgs: | 1916 | for suffix in pkgs: |
1918 | for pkg in pkgs[suffix]: | 1917 | for pkg in pkgs[suffix]: |