Revert "libcalamares: Align partition sizes on actual sectors"
This reverts commit 40202705ff
.
This commit is contained in:
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…
Reference in New Issue
Block a user