[Libguestfs] [PATCH 1/3] builder: do not use xz --block-size for the test images

Pino Toscano
2014-08-19T14:01:04Z

Do not use the --block-size parameter of xz when compressing the test
images, as that option does not exist in xz < 5.1.
---
 builder/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index 6a5cb01..726ca60 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -224,12 +224,12 @@ fedora.qcow2: ../tests/guests/fedora.img

 fedora.qcow2.xz: fedora.qcow2
 	rm -f $@ $@-t
-	xz --best --block-size=16777216 -c $< > $@-t
+	xz --best -c $< > $@-t
 	mv $@-t $@

 %.xz: ../tests/guests/%.img
 	rm -f $@ $@-t
-	xz --best --block-size=16777216 -c $< > $@-t
+	xz --best -c $< > $@-t
 	mv $@-t $@

 TESTS = \
--
1.9.3