appliance-repart-image: fix OVMF not detecting disk

With the update of systemd to v255, the repart tool switched to use 4K
sector sizes by default. This change sets the appliance-repart-image
test to use a sector size of 512B to fit in with the existing NixOS VM
test infrastructure using qemu disks with 512B sector sizes.
This commit is contained in:
Jared Baur 2024-01-26 22:27:50 -08:00
parent 4e139026b5
commit 0bf5f3be25
No known key found for this signature in database

View File

@ -40,6 +40,8 @@ in
image.repart = {
name = "appliance-gpt-image";
# OVMF does not work with the default repart sector size of 4096
sectorSize = 512;
partitions = {
"esp" = {
contents =