From ae68a4382ad815ebb9c5555c7dd9586ae5651757 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sat, 13 Jul 2019 09:18:13 +1000 Subject: [PATCH] flatpak: Don't use network when re-building. --- build-flatpak.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-flatpak.py b/build-flatpak.py index 4854204..3a8a34f 100755 --- a/build-flatpak.py +++ b/build-flatpak.py @@ -38,7 +38,8 @@ manifest_path, build_dir, state_dir = sys.argv[1:4] patched_manifest_path = "manifests-cache/patched-manifest.json" patch_manifest(manifest_path, patched_manifest_path) subprocess.run(["flatpak-builder", build_dir, patched_manifest_path, - "--force-clean", "--state-dir", state_dir], check=True) + "--force-clean", "--state-dir", state_dir, "--disable-updates"], + check=True) subprocess.run(["flatpak", "build", build_dir, "test-all"], check=True) subprocess.run(["flatpak", "build", build_dir, "eris", "--help"], check=True) print("Build successful:", build_dir)