From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S7uAK-0003eB-OW for bitbake-devel@lists.openembedded.org; Wed, 14 Mar 2012 20:47:20 +0100 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 14 Mar 2012 12:38:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208";a="121044736" Received: from unknown (HELO [10.7.198.50]) ([10.7.198.50]) by orsmga002.jf.intel.com with ESMTP; 14 Mar 2012 12:37:49 -0700 Message-ID: <4F60F38B.40506@linux.intel.com> Date: Wed, 14 Mar 2012 12:37:47 -0700 From: Joshua Lock User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: bitbake-devel@lists.openembedded.org References: In-Reply-To: Subject: Re: [PATCH 04/11] Hob: Fix the image installation dependency X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 19:47:21 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14/03/12 02:26, Dongxiao Xu wrote: > Get the image installation content from rdepends and rrecommends > variables. > > Signed-off-by: Dongxiao Xu > --- > lib/bb/ui/crumbs/hoblistmodel.py | 6 ++---- > 1 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py > index 0b7c0cb..0378828 100644 > --- a/lib/bb/ui/crumbs/hoblistmodel.py > +++ b/lib/bb/ui/crumbs/hoblistmodel.py > @@ -546,9 +546,7 @@ class RecipeListModel(gtk.ListStore): > group = event_model["pn"][item]["section"] > install = [] > > - depends = event_model["depends"].get(item, []) > - rdepends = event_model["rdepends-pn"].get(item, []) > - depends = depends + rdepends > + depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) > > if ('task-' in name): > if ('lib32-' in name or 'lib64-' in name): > @@ -557,7 +555,7 @@ class RecipeListModel(gtk.ListStore): > atype = 'task' > elif ('-image-' in name): > atype = 'image' > - install = rdepends > + install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) rrecs should be recommendations, not requirements - are we making the conscious decision to include all recommended packages when building with Hob? > elif ('meta-' in name): > atype = 'toolchain' > elif (name == 'dummy-image' or name == 'dummy-toolchain'): -- Joshua '贾詡' Lock Yocto Project "Johannes factotum" Intel Open Source Technology Centre