diff --git a/src/cosalib/qemuvariants.py b/src/cosalib/qemuvariants.py index 586dc3f091..09c17772d3 100644 --- a/src/cosalib/qemuvariants.py +++ b/src/cosalib/qemuvariants.py @@ -324,7 +324,7 @@ def mutate_image(self): case "gzip": rc = ['gzip', '-9c', uncompressed_path] case "zip": - rc = ['zip', '-9', "-", uncompressed_path] + rc = ['zip', '-9j', "-", uncompressed_path] case _: raise ImageError(f"unsupported compression type: {self.compression}") with open(final_img, "wb") as fh: