[elbe-devel] [PATCH] elbepack: packers: remove spurious quotes from tar packers

Thomas Weißschuh thomas.weissschuh at linutronix.de
Wed Feb 5 15:28:19 CET 2025


As there is no shell involved the quotes get pass through to tar.
This breaks the compressor invocation.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/packers.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/packers.py b/elbepack/packers.py
index 220e09de6c723cbe848bcba40e0b714cd27dcae5..290121b8784e3ec4a7eede5af845538ea04ac00f 100644
--- a/elbepack/packers.py
+++ b/elbepack/packers.py
@@ -88,9 +88,9 @@ packers = {'none': NoPacker(),
            'gzip': InPlacePacker(['gzip', '-f'], '.gz'),
            'zstd': InPlacePacker(['zstd', '-T0'], '.zst'),
            'tar':  TarArchiver('--auto-compress', '.tar'),
-           'tarxz': TarArchiver('--use-compress-program="xz -T0 -M40%"', '.tar.xz'),
+           'tarxz': TarArchiver('--use-compress-program=xz -T0 -M40%', '.tar.xz'),
            'targz': TarArchiver('--auto-compress', '.tar.gz'),
-           'tarzstd': TarArchiver('--use-compress-program="zstd -T0"', '.tar.zst'),
+           'tarzstd': TarArchiver('--use-compress-program=zstd -T0', '.tar.zst'),
            'android-sparse': AndroidSparsePacker(),
            }
 

---
base-commit: 2fd301beadb3b4c7e7318bdd9a41ea582ce3bf29
change-id: 20250205-packers-compress-234b339de356

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list