Merge "Change to maximum compression level when using lzma"

This commit is contained in:
Zuul 2025-03-05 14:41:45 +00:00 committed by Gerrit Code Review
commit 4dba6f4ef2
2 changed files with 5 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def main():
os.environ['DIB_REPOREF_requirements'] = args.branch
if args.lzma:
os.environ['DIB_IPA_COMPRESS_CMD'] = \
'xz --format=lzma --compress --stdout'
'xz --format=lzma --compress --stdout -9'
# Enable checksum generation by default
if 'DIB_CHECKSUM' not in os.environ:
os.environ['DIB_CHECKSUM'] = 'sha256'

View File

@ -0,0 +1,4 @@
---
features:
- |
Changes lzma compression level to 9 for smaller images.