From 1c91865aa33faefe09f1ffa5d8abb4ec8fa090ed Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 25 Jan 2025 13:45:46 -0800 Subject: [PATCH] speed up OTA packaging --- scripts/package_ota.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package_ota.py b/scripts/package_ota.py index 033026c..ea4e7ba 100755 --- a/scripts/package_ota.py +++ b/scripts/package_ota.py @@ -27,7 +27,7 @@ def compress(fin, fout) -> None: # since system.img is a squashfs now, we don't rely on this compression. # however, openpilot's updater still expects an xz archive, so use lowest # compression level for quick packaging. - subprocess.check_call(f"xz -0 -T4 -vc {fin} > {fout}", shell=True) + subprocess.check_call(f"xz -0 -T0 -vc {fin} > {fout}", shell=True) def process_file(fn, name, full_check=True, has_ab=True):