I have a recipe with SRCREV="f063068ec3df0b5d1ad93f79266e548f315bb1b3" SRC_URI = "gitsm://github.com/dotnet/source-build;branch=release/2.2" and during do_unpack, it fails with [...] warning: core.bare and core.worktree do not make sense fatal: unable to set up work tree using invalid config Unable to checkout '8629bf5014f3cbfaf3d72e9dda6f7c8f91209f81' in submodule path 'src/linker/cecil' Failed to recurse into submodule path 'src/linker' Manually running git clone -b release/2.2 git://github.com/dotnet/source-build followed by git submodule update --init --recursive correctly checks out the expected source code tree.
already have a bug opened for this. *** This bug has been marked as a duplicate of bug 13214 ***