tests: Increase root partitions size to 1.2G.

The system closure has grown slightly above 1GiB so adjust accordingly.

* gnu/tests/install.scm (%simple-installation-script): Increase vdb2 size of
1.2G,
(%extlinux-gpt-installation-script); ditto
(%simple-installation-script-for-/dev/vda): ditto,
(%separate-store-installation-script): ditto for vdb3,
(%encrypted-root-installation-script): ditto.
This commit is contained in:
Ludovic Courtès 2018-12-04 20:29:32 +01:00
parent 606b1a1e6b
commit 040ae18819
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -149,7 +149,7 @@ (define %simple-installation-script
guix build isc-dhcp guix build isc-dhcp
parted --script /dev/vdb mklabel gpt \\ parted --script /dev/vdb mklabel gpt \\
mkpart primary ext2 1M 3M \\ mkpart primary ext2 1M 3M \\
mkpart primary ext2 3M 1G \\ mkpart primary ext2 3M 1.2G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
mkfs.ext4 -L my-root /dev/vdb2 mkfs.ext4 -L my-root /dev/vdb2
@ -174,7 +174,7 @@ (define %extlinux-gpt-installation-script
export GUIX_BUILD_OPTIONS=--no-grafts export GUIX_BUILD_OPTIONS=--no-grafts
guix build isc-dhcp guix build isc-dhcp
parted --script /dev/vdb mklabel gpt \\ parted --script /dev/vdb mklabel gpt \\
mkpart ext2 1M 1G \\ mkpart ext2 1M 1.2G \\
set 1 legacy_boot on set 1 legacy_boot on
mkfs.ext4 -L my-root -O '^64bit' /dev/vdb1 mkfs.ext4 -L my-root -O '^64bit' /dev/vdb1
mount /dev/vdb1 /mnt mount /dev/vdb1 /mnt
@ -377,7 +377,7 @@ (define %simple-installation-script-for-/dev/vda
guix build isc-dhcp guix build isc-dhcp
parted --script /dev/vda mklabel gpt \\ parted --script /dev/vda mklabel gpt \\
mkpart primary ext2 1M 3M \\ mkpart primary ext2 1M 3M \\
mkpart primary ext2 3M 1G \\ mkpart primary ext2 3M 1.2G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
mkfs.ext4 -L my-root /dev/vda2 mkfs.ext4 -L my-root /dev/vda2
@ -510,7 +510,7 @@ (define %separate-store-installation-script
parted --script /dev/vdb mklabel gpt \\ parted --script /dev/vdb mklabel gpt \\
mkpart primary ext2 1M 3M \\ mkpart primary ext2 1M 3M \\
mkpart primary ext2 3M 100M \\ mkpart primary ext2 3M 100M \\
mkpart primary ext2 100M 1G \\ mkpart primary ext2 100M 1.2G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
mkfs.ext4 -L root-fs /dev/vdb2 mkfs.ext4 -L root-fs /dev/vdb2
@ -676,7 +676,7 @@ (define %encrypted-root-installation-script
ls -l /run/current-system/gc-roots ls -l /run/current-system/gc-roots
parted --script /dev/vdb mklabel gpt \\ parted --script /dev/vdb mklabel gpt \\
mkpart primary ext2 1M 3M \\ mkpart primary ext2 1M 3M \\
mkpart primary ext2 3M 1G \\ mkpart primary ext2 3M 1.2G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
echo -n thepassphrase | \\ echo -n thepassphrase | \\