mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
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:
parent
4e139026b5
commit
0bf5f3be25
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user