diff options
author | Jared Baur <jaredbaur@fastmail.com> | 2024-01-26 22:27:50 -0800 |
---|---|---|
committer | Jared Baur <jaredbaur@fastmail.com> | 2024-01-27 17:20:04 -0800 |
commit | 0bf5f3be2512b2770bb8c4f45a7b7b1956909300 (patch) | |
tree | 9b000efa43c894c83e45fda380788f572cbf1d0f /nixos/tests | |
parent | 4e139026b506e2339c6ce224e2f7ad1e4bb4fa4b (diff) |
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.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/appliance-repart-image.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/appliance-repart-image.nix b/nixos/tests/appliance-repart-image.nix index b18968d3b9631..861369b9f3ca8 100644 --- a/nixos/tests/appliance-repart-image.nix +++ b/nixos/tests/appliance-repart-image.nix @@ -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 = |