Revert "libcalamares: Align partition sizes on actual sectors"

This reverts commit 40202705ff.
main
Arnaud Ferraris 5 years ago
parent 40202705ff
commit a51d612afa

@ -160,7 +160,7 @@ alignBytesToBlockSize( qint64 bytes, qint64 blocksize )
constexpr qint64
bytesToSectors( qint64 bytes, qint64 blocksize )
{
return alignBytesToBlockSize( bytes, blocksize ) / blocksize;
return alignBytesToBlockSize( alignBytesToBlockSize( bytes, blocksize ), MiBtoBytes( 1ULL ) ) / blocksize;
}
} // namespace CalamaresUtils

Loading…
Cancel
Save