mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
cooker: add inherit information when generating package tree
Inherit information could be used to judge if a recipe is image type or not. (From Poky rev: 203f112a84b3971dc71da3dc455fd054d1c16a12) (Bitbake rev: fe52af99918f61abec8f779efb02926b713f2aac) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c70e761362
commit
ef2e881c1b
@@ -471,6 +471,7 @@ class BBCooker:
|
||||
description = self.status.description[fn]
|
||||
rdepends = self.status.rundeps[fn]
|
||||
rrecs = self.status.runrecs[fn]
|
||||
inherits = self.status.inherits.get(fn, None)
|
||||
if pn not in depend_tree["pn"]:
|
||||
depend_tree["pn"][pn] = {}
|
||||
depend_tree["pn"][pn]["filename"] = fn
|
||||
@@ -479,6 +480,7 @@ class BBCooker:
|
||||
depend_tree["pn"][pn]["license"] = lic
|
||||
depend_tree["pn"][pn]["section"] = section
|
||||
depend_tree["pn"][pn]["description"] = description
|
||||
depend_tree["pn"][pn]["inherits"] = inherits
|
||||
|
||||
if fnid not in seen_fnids:
|
||||
seen_fnids.append(fnid)
|
||||
|
||||
Reference in New Issue
Block a user