[bitbake-devel] [PATCH 24/32] Hob(crumbs/hoblistmodel.py): Add mapping for rprovides and pkg

Wang, Shane shane.wang at intel.com
Fri Mar 2 13:31:28 UTC 2012


Joshua Lock wrote on 2012-03-01:

> 
> 
> On 29/02/12 06:15, Shane Wang wrote:
>> From: Dongxiao Xu<dongxiao.xu at intel.com>
>> 
>> When checking the package's RDEPENDS information, we will see some case
>> like A RDEPENDS virtual-b, and B RPROVIDES virtual-b, we need to
>> reflect this relationship in packaging selection.
>> 
>> Signed-off-by: Dongxiao Xu<dongxiao.xu at intel.com>
>> ---
>>   bitbake/lib/bb/ui/crumbs/hoblistmodel.py |   18 +++++++++++++++---
>>   1 files changed, 15 insertions(+), 3 deletions(-)
>> diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
>> b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index e440979..e910944
>> 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++
>> b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py @@ -51,6 +51,7 @@ class
>> PackageListModel(gtk.TreeStore):
>>           self.pkgs_size = 0
>>           self.pn_path = {}
>>           self.pkg_path = {}
>> +        self.rprov_pkg = {}
>> 
>>           gtk.TreeStore.__init__ (self,
>>                                   gobject.TYPE_STRING,
>> @@ -71,10 +72,18 @@ class PackageListModel(gtk.TreeStore):
>>       Returns the path in the model or None
>>       """
>>       def find_path_for_item(self, item_name):
>> +        pkg = item_name +        if item_name ==
>> "virtual-locale-en-gb": +            print("xdx: item name in
>> pkg_path.keys: %s" % (item_name in self.pkg_path.keys())) +           
>> print("xdx: item name in rprov_pkg.keys: %s" %
> (item_name in self.rprov_pkg.keys()))
> 
> Was this left in on purpose?
> 

Dongxiao, I guess you forgot to remove debug information;-)

--
Shane




More information about the bitbake-devel mailing list