Code review comment for lp:~salgado/linaro-image-tools/partition-setup

Revision history for this message
Peter Maydell (pmaydell) wrote :

146 - # Round the size of the raw disk image up to a multiple of 256K
147 - # so it is an exact number of SD card erase blocks in length.
148 - # Otherwise Linux under qemu cannot access the last part of the
149 - # card and is likely to complain that the last partition on the
150 - # disk has been truncated.
151 - IMAGE_SIZE=$(((($IMAGE_SIZE-1)/(1024*256)+1)*(1024*256)))

So this bug fix has gone from the shell script but I can't find the bit in the Python which implements it. Am I missing something?

« Back to merge proposal