vm: Add ability to build .img.xz
So we are can to build compressed img files.
This commit is contained in:
parent
be353bc77d
commit
125ad24e6c
@ -68,6 +68,9 @@ convert-image/tar.xz:
|
|||||||
convert-image/img: tar2fs
|
convert-image/img: tar2fs
|
||||||
mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
|
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/qcow2 convert-image/qcow2c convert-image/vmdk \
|
||||||
convert-image/vdi convert-image/vhd: check-qemu tar2fs
|
convert-image/vdi convert-image/vhd: check-qemu tar2fs
|
||||||
@VM_COMPRESS=; \
|
@VM_COMPRESS=; \
|
||||||
|
@ -41,7 +41,7 @@ $(foreach c,$(VE_ARCHIVES), \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# extensions for buld-vm
|
# 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
|
VM_TAVOLGA_EXTS := .recovery.tar
|
||||||
|
|
||||||
ifeq (vm,$(IMAGE_CLASS))
|
ifeq (vm,$(IMAGE_CLASS))
|
||||||
|
Loading…
Reference in New Issue
Block a user