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

Ivan Sergio Borgonovo mail at webthatworks.it
Thu Oct 15 14:37:37 PDT 2015


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.

thanks

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the poky mailing list