On 11/07/2013 10:33 AM, Steven Menexas wrote: > --- bad/usr/sbin/build-openstack-debian-image 2013-07-28 > 10:47:49.000000000 -0400 > +++ good/usr/sbin/build-openstack-debian-image 2013-11-06 > 20:55:51.000000000 -0500 > @@ -165,7 +165,7 @@ > #dd if=/dev/null bs=1M seek=1024 of=${AMI_NAME} > > ${PARTED} -s ${AMI_NAME} mktable msdos > -${PARTED} -s -a optimal ${AMI_NAME} mkpart primary ext3 1M 100% > +${PARTED} -s -a optimal ${AMI_NAME} mkpart primary ext3 1Mi 100% > ${PARTED} -s ${AMI_NAME} set 1 boot on > install-mbr ${AMI_NAME} > RESULT_KPARTX=`kpartx -av ${AMI_NAME} 2>&1` > @@ -387,7 +387,7 @@ > if [ "${AUTOMATIC_RESIZE}" = "yes" ] ; then > # Rebuild a smaller partition table > parted -s ${AMI_NAME} rm 1 > - parted -s ${AMI_NAME} mkpart primary ext3 1M ${FINAL_IMG_SIZE}M > + parted -s ${AMI_NAME} mkpart primary ext3 1Mi ${FINAL_IMG_SIZE}Mi > parted -s ${AMI_NAME} set 1 boot on > > # Add 2M for the 1M at the beginning of the partition and some > additionnal space
Hi Steven, thanks for this, I applied it and I will upload to Unstable soon (and to backports when it reaches testing). Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org