[bitbake-devel] gitsm: orphaned submodules WAS: Sumo to Thud migration: Fetch failure from gitsm.py

raphael.lisicki at siemens.com raphael.lisicki at siemens.com
Fri Dec 14 12:37:47 UTC 2018


Hello,

as Josias has already pointed out, the new gitsm fetcher fails if there is a submodule entry in .gitmodules, for which no actual submodule exists.

I created a dummy module that shows the respective issue: https://github.com/ralisi/submodule-test

This repository is shown correctly by github and cloning it with git causes no problem. I think it should be possible to fetch this repository with the gitsm module.
To do so, I think the loop iteration at http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/fetch2/gitsm.py#n87 can be skipped if module_hash is indeed an empty string.


Best regards
Raphael Lisicki


More information about the bitbake-devel mailing list