summaryrefslogtreecommitdiffstats
path: root/images/build-qcow-image.inc
blob: deace60b28db5b16e69b69f266eaa3fa575308f6 (plain)
1
2
3
4
5
6
7
8
9
10
inherit image-vm
IMAGE_FSTYPES += "qcow2"

# To reduce storage size remove the intermediate images
do_clean_unused_img() {
     rm ${IMGDEPLOYDIR}/*.hdddirect
     rm ${IMGDEPLOYDIR}/*.ext4
}

addtask clean_unused_img after do_vmimg before do_image_complete