mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue