[yocto] How to execute a git submodule init/update?

Christopher Larson clarson at kergoth.com
Mon Jun 6 08:41:40 PDT 2016


Use gitsm:// in your SRC_URI rather than git://.

On Mon, Jun 6, 2016 at 3:06 AM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 6 June 2016 at 10:39, <S.Jaritz at esa-grimma.de> wrote:
>
>> I have a git source which need some submodules. For that I need to
>> execute "git submodule init" and "git submodule update". Any idea how to do
>> it in a comon way?
>>
>
> Use the gitsm: fetcher, which will do that for you.
>
> Ross
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
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/yocto/attachments/20160606/5b4d1b98/attachment.html>


More information about the yocto mailing list