From 43eaee3eb882b66d6d5f2cd2ca358377d89bb0aa Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Mon, 7 Nov 2022 12:54:09 +0700 Subject: [PATCH] Use -mx7 by default for 7z archives. --- script/lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib/util.py b/script/lib/util.py index d0e533fbe9b..0c8388af439 100644 --- a/script/lib/util.py +++ b/script/lib/util.py @@ -164,7 +164,7 @@ def make_zip(zip_file_path, files, dirs): def make_7z(archive_file_path, files, dirs): safe_unlink(archive_file_path) files += dirs - execute([get_lzma_exec(), 'a', '-t7z', archive_file_path] + files) + execute([get_lzma_exec(), 'a', '-t7z', '-mx7', archive_file_path] + files) def rm_rf(path):