[bitbake-devel] [PATCH] Fix gitsm networking and mirroring

Mikko.Rapeli at bmw.de Mikko.Rapeli at bmw.de
Fri Sep 21 07:02:20 UTC 2018


Looks good from what I understand of the patch, but I have a question about
git/gitsm fetchers:

Is it possible that two recipes end up modifying the same file e.g. via
hard links when they use git submodules and share one of the repositories?

I'm seeing very odd build failures on sumo and it looks like
recipes are either mixing up files in their sysroots or seeing each others
patches on top of the shared git submodule tree. These happen when building
the whole system and rebuilding affected recipes alone makes the problem
go away.

With svn fetcher we see the same, but that's one of the problems we knew about
from past. svn fetcher does not lock the download cached tree correctly
and if multiple recipes use the same repo, one of them can see the repo
in an inconsistent state and fail with various errors. Our workaround
is to switch to http/s fetcher instead.

-Mikko


More information about the bitbake-devel mailing list