cooker: add package rdepends and rrecommends info
When calculating the image installation dependency, we need the rdepends and rrecommends information of certain packages. (Bitbake rev: 5eab31ad9e9431e27725dcefa38cbd7f2e37d394) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
354f45865a
commit
8c6ce63433
|
@ -479,7 +479,6 @@ class BBCooker:
|
|||
depend_tree["pn"][pn]["license"] = lic
|
||||
depend_tree["pn"][pn]["section"] = section
|
||||
depend_tree["pn"][pn]["description"] = description
|
||||
depend_tree["pn"][pn]["packages"] = rdepends.keys()
|
||||
|
||||
if fnid not in seen_fnids:
|
||||
seen_fnids.append(fnid)
|
||||
|
@ -510,6 +509,9 @@ class BBCooker:
|
|||
pn_rprovider = item
|
||||
depend_tree["rdepends-pn"][pn].append(pn_rprovider)
|
||||
|
||||
depend_tree["rdepends-pkg"].update(rdepends)
|
||||
depend_tree["rrecs-pkg"].update(rrecs)
|
||||
|
||||
return depend_tree
|
||||
|
||||
def generateDepTreeEvent(self, pkgs_to_build, task):
|
||||
|
|
Loading…
Reference in New Issue