1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00

build: run vcs.initsubmodules() on host as well

otherwise, e.g. triple-t metadata in a submodule will not be available
on the host and thus not be used at all
This commit is contained in:
Felix C. Stegerman 2021-09-11 17:15:44 +02:00 committed by Jochen Sprickerhof
parent 07ddb8a6db
commit 53ff7de445

View File

@ -879,6 +879,10 @@ def trybuild(app, build, build_dir, output_dir, log_dir, also_check_dir,
# grabbing the source now.
vcs.gotorevision(build.commit, refresh)
# Initialise submodules if required
if build.submodules:
vcs.initsubmodules()
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
else:
build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)