[yocto] gitsm recursive submodules

Burton, Ross ross.burton at intel.com
Thu Oct 16 13:49:32 PDT 2014


On 16 October 2014 21:44, Cliff Brake <cliff.brake at gmail.com> wrote:
> It seems the gitsm fetcher should be modified to do a recursive update:
>
> http://cgit.openembedded.org/bitbake/tree/lib/bb/fetch2/gitsm.py
>
> replace:
>
>         runfetchcmd(ud.basecmd + " submodule init", d)
>         runfetchcmd(ud.basecmd + " submodule update", d)
>
> with
>
>         runfetchcmd(ud.basecmd + " submodule update --init --recursive", d)
>
> Alternatively, you might be able to add a task in your recipe to do
> the submodule stuff.

If it really is that simple, a tested patch would be much appreciated!

Ross



More information about the yocto mailing list