mirror of https://github.com/cutefishos/calamares
libcalamares: Align partition sizes on actual sectors
Currently, the `bytesToSectors()` function rounds a partition size to the nearest MiB unit, which may lead to inconsistencies when a partition is expected to only be a few KiB's. This patch changes the behaviour of `bytesToSectors()` so that it aligns on sector size, without rounding the partition size to a multiple of 1MiB. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>main
parent
209e8331b7
commit
40202705ff
Loading…
Reference in New Issue