mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +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:
parent
07ddb8a6db
commit
53ff7de445
@ -879,6 +879,10 @@ def trybuild(app, build, build_dir, output_dir, log_dir, also_check_dir,
|
|||||||
# grabbing the source now.
|
# grabbing the source now.
|
||||||
vcs.gotorevision(build.commit, refresh)
|
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)
|
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
|
||||||
else:
|
else:
|
||||||
build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)
|
build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)
|
||||||
|
Loading…
Reference in New Issue
Block a user