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

Mark Hatle mark.hatle at windriver.com
Fri Sep 21 00:18:14 UTC 2018


gitsm would honor the BB_NO_NETWORK and mirroring for the primary repository,
but submodules would always attempt to hit the network.

This code reworks the git submodule fetcher by avoiding the
"git submodule init".

The code has been tested using my local use-case, as well as the built-in
test suite.  (You'll notice I had to adjust the test suite slightly in the
patch.)

The change is available at:

   git://git.openembedded.org/bitbake-contrib mgh/gitsm

Mark Hatle (1):
  fetch2/gitsm.py: Rework the git submodule fetcher

 lib/bb/fetch2/gitsm.py | 271 +++++++++++++++++++++++++++----------------------
 lib/bb/tests/fetch.py  |   3 +
 2 files changed, 151 insertions(+), 123 deletions(-)

-- 
1.8.3.1



More information about the bitbake-devel mailing list