[OE-core] [PATCH V4 0/2] bitbake-layers: add a ability to query layer dependencies from layer index

Chong Lu Chong.Lu at windriver.com
Wed Feb 11 10:12:22 UTC 2015


$ bitbake-layers show-layer-deps meta-security
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-python          meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-python          openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-networking      git://git.openembedded.org/meta-openembedded            meta-networking
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-perl            git://git.openembedded.org/meta-openembedded            meta-perl
meta-oe              openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-perl            openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-networking      meta-python          git://git.openembedded.org/meta-openembedded            meta-python
meta-security        openembedded-core    git://git.openembedded.org/openembedded-core            meta

$ bitbake-layers show-layer-deps meta-security -f
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-python          meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-python          openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-networking      git://git.openembedded.org/meta-openembedded            meta-networking
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-perl            git://git.openembedded.org/meta-openembedded            meta-perl
meta-oe              openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-perl            openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-networking      meta-python          git://git.openembedded.org/meta-openembedded            meta-python
meta-security        openembedded-core    git://git.openembedded.org/openembedded-core            meta
Cloning into '/buildarea2/clu1/source/poky/meta-security'...
remote: Counting objects: 736, done.
remote: Compressing objects: 100% (485/485), done.
remote: Total 736 (delta 378), reused 572 (delta 214)
Receiving objects: 100% (736/736), 749.55 KiB | 70.00 KiB/s, done.
Resolving deltas: 100% (378/378), done.
Checking connectivity... done.

$ bitbake-layers show-layer-deps meta-security -a
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-python          meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-python          openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-networking      git://git.openembedded.org/meta-openembedded            meta-networking
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-perl            git://git.openembedded.org/meta-openembedded            meta-perl
meta-oe              openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-perl            openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-security        meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-networking      meta-python          git://git.openembedded.org/meta-openembedded            meta-python
meta-security        openembedded-core    git://git.openembedded.org/openembedded-core            meta
Add "meta-networking" to conf/bblayers.conf
Add "meta-oe" to conf/bblayers.conf
Add "meta-perl" to conf/bblayers.conf
Add "meta-python" to conf/bblayers.conf
Add "meta-security" to conf/bblayers.conf

$ bitbake-layers show-layer-deps meta-networking -bdizzy
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta

$ bitbake-layers show-layer-deps meta-networking -bdaisy
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta

$ bitbake-layers show-layer-deps meta-networking -bmaster
Layer                Dependencies         Git repository                                          Subdirectory
===================================================================================================================
meta-networking      openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-python          meta-oe              git://git.openembedded.org/meta-openembedded            meta-oe
meta-oe              openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-python          openembedded-core    git://git.openembedded.org/openembedded-core            meta
meta-networking      meta-python          git://git.openembedded.org/meta-openembedded            meta-python


The following changes since commit 35c9fa0588ed8e88b541a6c80cc1517324616cea:

  maintainers: Update for non-maintained recipes (2015-01-20 21:39:41 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib chonglu/layerindex
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/layerindex

Chong Lu (2):
  bitbake.conf: Add two variables for layer index
  bitbake-layers: add a ability to query layer dependencies from layer index

 bitbake/bin/bitbake-layers | 244 +++++++++++++++++++++++++++++++++++++++++++++
 meta/conf/bitbake.conf     |   6 ++
 2 files changed, 250 insertions(+)

-- 
1.9.1



More information about the Openembedded-core mailing list