Received: from mail-yw0-f122.google.com ([209.85.211.122]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NHN8l-0006AW-1E for openembedded-devel@lists.openembedded.org; Sun, 06 Dec 2009 20:51:34 +0100 Received: by ywh28 with SMTP id 28so679964ywh.16 for ; Sun, 06 Dec 2009 11:49:51 -0800 (PST) Received: by 10.91.115.7 with SMTP id s7mr5196303agm.107.1260128987720; Sun, 06 Dec 2009 11:49:47 -0800 (PST) Received: from localhost (elphelut.fttp.xmission.com [166.70.233.217]) by mx.google.com with ESMTPS id 39sm2256788yxd.9.2009.12.06.11.49.46 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Dec 2009 11:49:47 -0800 (PST) Date: Sun, 6 Dec 2009 12:49:38 -0700 From: Graeme Gregory To: openembedded-devel@lists.openembedded.org Message-ID: <20091206124938.2072c66d@xora.org.uk> In-Reply-To: References: <4B14BAD9.2060402@fqingenieria.es> <20091201072521.GA11505@denix.org> <4B14D2E1.6050506@SSpaeth.de> <20091201194025.GB11505@denix.org> <4B1611C3.7050101@SSpaeth.de> <20091202114959.GA8668@zlo.nu> <20091206075442.5eda3c23@xora.org.uk> <20091206120513.235ea20a@xora.org.uk> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.3; i686-redhat-linux-gnu) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 209.85.211.122 X-SA-Exim-Mail-From: dp@xora.org.uk X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: Re: Recipes relation tree X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 19:51:34 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 6 Dec 2009 20:37:30 +0100 Frans Meulenbroeks wrote: > 2009/12/6 Graeme Gregory : > > On Sun, 6 Dec 2009 19:51:21 +0100 > > Frans Meulenbroeks wrote: > > > >> 2009/12/6 Graeme Gregory : > >> > On Sun, 6 Dec 2009 13:17:16 +0100 > >> > Frans Meulenbroeks wrote: > >> > > >> >> It would also be nice to be able to get the used by information. > >> >> E.g. if I change a package (especially wrt staging) I would > >> >> like to verify that the packages which use the modified package > >> >> still build. > >> >> > >> >> The current el-cheapo solution for a package XYZ is to do > >> >> something like a grep =C2=A0DEPENDS.*XYZ */*.bb but of course that > >> >> won't work if DEPENDS spans multiple lines. > >> >> > >> > bitbake -g target will drop a dependency graph in the directory > >> > you run bitbake from. > >> > > >> > Graeme > >> > >> Graeme, I know but I would like to have exacty the reverse: a list > >> of packages that depend on the package at hand. > >> bitbake -g gives all packages a package depends on, but I would > >> like to have a list of packages that depend on a specific package. > >> > >> so e.g. I want to get a list of packages that depend on libxml (and > >> bitbake -g libxml gives me the packages libxml depends on). > >> > >> I hope that clarifies my question. > >> > > Still the same answer, bitbake -g world then parse the graph. > > >=20 > Ah ok, forgot that bitbake -g world would give me the complete graph > >=20 > Thanks, FM >=20 Then put the script you use to parse the graph in contrib/ and enjoy eternal fame for solving one of OEs FAQs. Graeme