diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-04-01 08:35:47 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-04-01 08:50:38 +0200 |
commit | 56c0edca86bba44257313484a7b2d1e841abdb21 (patch) | |
tree | 322143d7014b4d04cc61d7eff216991b02e736a9 | |
parent | edee502f81697bf719867c061d803da86416e585 (diff) | |
download | nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar.gz nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar.bz2 nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar.lz nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar.xz nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.tar.zst nixpkgs-56c0edca86bba44257313484a7b2d1e841abdb21.zip |
nixos/tests/swraid: Increase boot partition size.
I'm increasing it to 100MB to make sure, any bootloader will fit with all its stages. Of course, right now the reason why GRUB doesn't fit into the partition is because of mdadm 3.3.2 and thus the initrd taking all the space, but in order to avoid confusion on why the *boot* loader fails in the VM tests, I've increased the size. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | nixos/tests/installer.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index c7815bde3f5..af87705b927 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -327,12 +327,12 @@ in { $machine->succeed( "parted /dev/vda --" . " mklabel msdos" - . " mkpart primary ext2 1M 30MB" # /boot - . " mkpart extended 30M -1s" - . " mkpart logical 31M 1531M" # md0 (root), first device - . " mkpart logical 1540M 3040M" # md0 (root), second device - . " mkpart logical 3050M 3306M" # md1 (swap), first device - . " mkpart logical 3320M 3576M", # md1 (swap), second device + . " mkpart primary ext2 1M 100MB" # /boot + . " mkpart extended 100M -1s" + . " mkpart logical 102M 1602M" # md0 (root), first device + . " mkpart logical 1603M 3103M" # md0 (root), second device + . " mkpart logical 3104M 3360M" # md1 (swap), first device + . " mkpart logical 3361M 3617M", # md1 (swap), second device "udevadm settle", "ls -l /dev/vda* >&2", "cat /proc/partitions >&2", |