[Vmdebootstrap-devel] Bug#831029: vmdebootstrap: Move qcow2 conversion to after system_cleanup

Christian Kastner ckk at debian.org
Wed Jul 13 19:08:10 UTC 2016


Package: vmdebootstrap
Version: 1.5-1
Severity: normal
Tags: patch

I noticed that the images created by using --convert-qcow2 were
unbootable in most cases for me (maybe all, but I don't recall that
right now). Recreating them manually using qemu-img succeeded, however.

I then noticed that the conversion step is being called while the image
is still mounted. I thought that might be a problem, even though no
further writes seem to happen at that point, so I tried moving the
conversion step until after the image has been unmounted. This indeed
resolved the issue for me.

The attached patch against HEAD of master implements this.

Regards,
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Move-qcow2-conversion-to-after-system-cleanup.patch
Type: text/x-patch
Size: 1182 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20160713/0d04c36c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20160713/0d04c36c/attachment.sig>


More information about the Vmdebootstrap-devel mailing list