[poky] [SOLVED]? Re: listing PACKAGES for a certain layer

Christopher Larson clarson at kergoth.com
Thu Oct 15 14:42:22 PDT 2015


On Thu, Oct 15, 2015 at 2:37 PM, Ivan Sergio Borgonovo <mail at webthatworks.it
> wrote:

> On 10/15/2015 09:28 PM, Paul Eggleton wrote:
>
>> Hi Ivan,
>>
>
> On Thursday 15 October 2015 18:27:39 Ivan Sergio Borgonovo wrote:
>>
>>> Is there a way to list packages provided by a certain layer/recipe?
>>>
>>
> Not layer, but you can get a bunch of info out of oe-pkgdata-util after
>> recipes have been built - e.g. once the connman recipe has built you can
>> run:
>>
>
> Do you mean I have to compile the package?
>
> But probably solved in a different way:
>
> get a list of targets from
> bitbake-layers show-recipes | grep -B1 '[layer]'
>
> join them with
>
> bitbake -e [target] | grep 'PACKAGES='
>
> there are still some packages coming from PACKAGES_DYNAMIC=
> I'm not sure if I'm missing something else.
>
> I'm going to write some shell script that will make things easier after I
> get a better understanding of PACKAGES_DYNAMIC.
>
>
> This should be the equivalent of
> aptitude search '?source-package([package])'
>
> $ oe-pkgdata-util list-pkgs -p connman
>> connman-tools
>> connman-tests
>> connman-client
>> connman-dbg
>> connman-dev
>> connman-doc
>> connman
>>
>
> and this is similar (not equal) to:
> apt-file find [package]
>
> $ oe-pkgdata-util list-pkg-files connman
>> connman:
>>          /etc/dbus-1/system.d/connman.conf
>>          /etc/init.d/connman
>>          /usr/sbin/connmand
>>
>
> But debian tools relay on an index and don't need to build stuff.
>

https://github.com/kergoth/bb 's search subcommand may also be of use.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20151015/8443183d/attachment.html>


More information about the poky mailing list