The question is old, but since I ran into the same problem on Edison's board, here is my workaround, it might still interest some people.
Here is the version of Yocto that I use for Edison: https://github.com/edison-fw/meta-intel-edison
The problem arises because in the git version on the Edison board some parts are missing. In this case, the git-submodules binary is missing from / usr / libexec / git-core
So, as soon as you build the yocto image, following the explanations you can find at the same link above (or here https://edison-fw.imtqy.com/meta-intel-edison/ ), and reflash your board, you will have to copy the git-submodules file from your host computer to your edison platform.
On your host, once in the assembly directory (path / to / edison / out / linux64 / build), enter:
find . -name "git-submodule"
And you will get different places for the same file. Take one of them.
Copy it on the edison board in / usr / libexec / git-core.
Now we have to hope that git with the submodule should work ...
UPDATE:
The answer to the ferry is better, but in some cases it does not work on my side (yocto sumo). The git-perltools is part of the git package, so there is no need to add it to the kernel image, but it is still not installed. I found that the git-perltools dependent on findutils , so Ferry's response might require adding findutils to the core-image.
NB:
I would rather comment on Ferry's answer, but I have no rights.
source share