1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Always write VM status

Before this the status.json only contained VM information with
fdroid build --wiki --server, after this a fdroid build --server is
enough.
This commit is contained in:
Jochen Sprickerhof 2021-11-24 18:02:01 +01:00
parent b6f1f4231a
commit 32d2330bb5

View File

@ -1260,7 +1260,7 @@ def main():
logging.info(ngettext("{} build failed",
"{} builds failed", len(failed_builds)).format(len(failed_builds)))
if options.wiki:
if options.server:
if os.cpu_count():
status_output['hostOsCpuCount'] = os.cpu_count()
if os.path.isfile('/proc/meminfo') and os.access('/proc/meminfo', os.R_OK):