diff --git a/features.in/build-vm/lib/90-build-vm.mk b/features.in/build-vm/lib/90-build-vm.mk index c9b18180..3aee7331 100644 --- a/features.in/build-vm/lib/90-build-vm.mk +++ b/features.in/build-vm/lib/90-build-vm.mk @@ -68,6 +68,9 @@ convert-image/tar.xz: convert-image/img: tar2fs mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)" +convert-image/img.xz: tar2fs + $(VM_XZ_COMMAND) < "$(VM_RAWDISK)" > "$(IMAGE_OUTPATH)" + convert-image/qcow2 convert-image/qcow2c convert-image/vmdk \ convert-image/vdi convert-image/vhd: check-qemu tar2fs @VM_COMPRESS=; \ diff --git a/features.in/pack/config.mk b/features.in/pack/config.mk index e31568b6..276f9f41 100644 --- a/features.in/pack/config.mk +++ b/features.in/pack/config.mk @@ -41,7 +41,7 @@ $(foreach c,$(VE_ARCHIVES), \ endif # extensions for buld-vm -VM_EXTS := .tar .tar.gz .tar.xz .img .qcow2 .qcow2c .vdi .vmdk .vhd +VM_EXTS := .tar .tar.gz .tar.xz .img .img.xz .qcow2 .qcow2c .vdi .vmdk .vhd VM_TAVOLGA_EXTS := .recovery.tar ifeq (vm,$(IMAGE_CLASS))