[elbe-devel] [PATCH] elbepack: packers: use .tar.xz by default
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Thu Feb 6 13:01:16 CET 2025
xz has a better compression ratio than gz and can execute multithreaded.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/packers.py | 2 +-
newsfragments/+packer-xz.feature.rst | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/elbepack/packers.py b/elbepack/packers.py
index 220e09de6c723cbe848bcba40e0b714cd27dcae5..0a66b979c9dfa673041c1232663ff44e0a1c3765 100644
--- a/elbepack/packers.py
+++ b/elbepack/packers.py
@@ -94,4 +94,4 @@ packers = {'none': NoPacker(),
'android-sparse': AndroidSparsePacker(),
}
-default_packer = packers['targz']
+default_packer = packers['tarxz']
diff --git a/newsfragments/+packer-xz.feature.rst b/newsfragments/+packer-xz.feature.rst
new file mode 100644
index 0000000000000000000000000000000000000000..2eb4d67ce0e783b99e09917cb4034bd5707aa18f
--- /dev/null
+++ b/newsfragments/+packer-xz.feature.rst
@@ -0,0 +1,2 @@
+Build artifacts are compressed with xz instead of gzip by default.
+To switch back, explicitly use the finetuning `<set_packer packer="targz">...</set_packer>`.
---
base-commit: 2fd301beadb3b4c7e7318bdd9a41ea582ce3bf29
change-id: 20250206-packers-xz-0048f9c63c3a
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the elbe-devel
mailing list