nixosTests.installer: increase EFI partition size

Needed for simpleUefiGrub test to pass on aarch64
Runs out of space otherwise
This commit is contained in:
Ryan Burns 2021-02-18 01:58:25 -08:00
parent 5828d54356
commit 5406db08bf

View File

@ -401,9 +401,9 @@ let
createPartitions = '' createPartitions = ''
machine.succeed( machine.succeed(
"flock /dev/vda parted --script /dev/vda -- mklabel gpt" "flock /dev/vda parted --script /dev/vda -- mklabel gpt"
+ " mkpart ESP fat32 1M 50MiB" # /boot + " mkpart ESP fat32 1M 100MiB" # /boot
+ " set 1 boot on" + " set 1 boot on"
+ " mkpart primary linux-swap 50MiB 1024MiB" + " mkpart primary linux-swap 100MiB 1024MiB"
+ " mkpart primary ext2 1024MiB -1MiB", # / + " mkpart primary ext2 1024MiB -1MiB", # /
"udevadm settle", "udevadm settle",
"mkswap /dev/vda2 -L swap", "mkswap /dev/vda2 -L swap",