jenkins-build-common: use 'git submodule update'

Now that we use git submodules in osmo-trx, make sure to initialize and
update them before attempting to build.

Fix for:
  Makefile.am:32: error: required directory ./osmocom-bb/src/host/trxcon does not exist

Change-Id: Ic2b9207b942a8a9edff82737117b2ed9d6d3cfe3
This commit is contained in:
Oliver Smith 2022-12-23 15:36:15 +01:00 committed by osmith
parent 8528ab6c85
commit d087b6ccc3
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ have_repo() {
echo "$(git rev-parse HEAD) $repo" >> "$prefix_real/${name}_git_hashes.txt"
git submodule update --init
cd "$base"
}