Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
As per Neils request, here's a copy of my last mail asking for pre-approval for uploading openstack-debian-images/1.0.0. Dear release team, The package openstack-debian-images, when used with newer version of Qemu, may generate images which aren't useable on some cloud providers. The way to fix it is to use the following option: "-o compat=0.10" Without this, some users may not understand why their image isn't useable in some public clouds. Unfortunately, I didn't understand why when I was using it, it was failing. Until now: I was using big -O instead of lowercase -o. Since I have found out, I'd like to upload a fixed version of openstack-debian-images to Sid and have it in Jessie. Please let me know if the attached patch is ok, and if I can upload a new version of openstack-debian-images in Sid. Diff attached. Cheers, Thomas Goirand (zigo)
diff --git a/build-openstack-debian-image b/build-openstack-debian-image index 0489bc4..f6d4fd7 100755 --- a/build-openstack-debian-image +++ b/build-openstack-debian-image @@ -417,11 +417,11 @@ if [ "${AUTOMATIC_RESIZE}" = "yes" ] ; then install-mbr ${AMI_NAME} fi -#QEMU_VERSION=`qemu-img --help | head -n 1 | cut -d" " -f3 | cut -d"," -f1` -#if dpkg --compare-versions ${QEMU_VERSION} gt 1.0 ; then -# OTHER_QEMU_IMG_OPTIONS=" -O compat=0.10" -#else +QEMU_VERSION=`qemu-img --help | head -n 1 | cut -d" " -f3 | cut -d"," -f1` +if dpkg --compare-versions ${QEMU_VERSION} gt 1.0 ; then + OTHER_QEMU_IMG_OPTIONS=" -o compat=0.10" +else OTHER_QEMU_IMG_OPTIONS="" -#fi +fi qemu-img convert -c -f raw ${AMI_NAME}${OTHER_QEMU_IMG_OPTIONS} -O qcow2 ${QCOW2_NAME} diff --git a/debian/changelog b/debian/changelog index 2c38f45..d024639 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openstack-debian-images (1.1) unstable; urgency=medium + + * Fixed compat option for newer qemu. + + -- Thomas Goirand <z...@debian.org> Fri, 21 Nov 2014 13:48:26 +0800 + openstack-debian-images (1.0) unstable; urgency=medium * Fixed the sudoers file to support the --login option. (Closes: #766234)