diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-13 13:45:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-15 10:35:15 +0000 |
commit | 8c6ce63433ac9d58e1c4ff8b5ecb6aa0350d4607 (patch) | |
tree | d2817d59d1479c105c371e43380ab7d7a2ea7624 /bitbake | |
parent | 354f45865a4773878e90bf919809d419bd257fa0 (diff) | |
download | poky-8c6ce63433ac9d58e1c4ff8b5ecb6aa0350d4607.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index f97e6012c7..688e2650e9 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -479,7 +479,6 @@ class BBCooker: | |||
479 | depend_tree["pn"][pn]["license"] = lic | 479 | depend_tree["pn"][pn]["license"] = lic |
480 | depend_tree["pn"][pn]["section"] = section | 480 | depend_tree["pn"][pn]["section"] = section |
481 | depend_tree["pn"][pn]["description"] = description | 481 | depend_tree["pn"][pn]["description"] = description |
482 | depend_tree["pn"][pn]["packages"] = rdepends.keys() | ||
483 | 482 | ||
484 | if fnid not in seen_fnids: | 483 | if fnid not in seen_fnids: |
485 | seen_fnids.append(fnid) | 484 | seen_fnids.append(fnid) |
@@ -510,6 +509,9 @@ class BBCooker: | |||
510 | pn_rprovider = item | 509 | pn_rprovider = item |
511 | depend_tree["rdepends-pn"][pn].append(pn_rprovider) | 510 | depend_tree["rdepends-pn"][pn].append(pn_rprovider) |
512 | 511 | ||
512 | depend_tree["rdepends-pkg"].update(rdepends) | ||
513 | depend_tree["rrecs-pkg"].update(rrecs) | ||
514 | |||
513 | return depend_tree | 515 | return depend_tree |
514 | 516 | ||
515 | def generateDepTreeEvent(self, pkgs_to_build, task): | 517 | def generateDepTreeEvent(self, pkgs_to_build, task): |