mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 22:28:27 +00:00
Currently the RISC-V preinstalled server images come with partitions that are only 1 KiB aligned. Ext4 may use 4 KiB block size. The existing misalignment leads to decreased performance. Decrease the size of the loader2 partition by 34 512-byte blocks. This results in 1 MiB alignment of the EFI and root partitions. The remaining loader2 partition size of close to 4 MiB is still large enough for U-Boot or a future EDK II. Fixes: a808b28d47ec ("riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>