On 2017-05-24 16:39, Koehler, Yannick (HPN Aruba) wrote:
In our development with Yocto, we use vendor provided layers.  At this time we 
have to pull those manually (using git or submodule or other technics) to get 
the vendor layer on disk before bitbake can start.  Does Yocto allow to 
automatically pull a yocto layer given a uri, branch and other information, 
similar way as it can pull the source of a package?

This way, we could omit the vendor layer stuff from our git and instead have Yocto 
fetch the layer from its source (honoring all the premirror and mirror stuff).  The 
layer specification would be similar to SRC_URI format with an additional parameter 
to indicate locally where to put the files, maybe with a default of 
vendor/<layer-name> structure?

        git://g...@mylayer.company.com/layer-name.git;protocol=ssh;branch=master

This would pull into

        vendors/layer-name

Prior to parse all reccipes?

Not part of the default Yocto setup, but what you are asking for
seems to be a perfect fit for the [Android/Google] repo tool.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to