tests: install: Increase image size limit.

Commits 0eed771275 and
614a1e3fa2 caused a ~150M increase of the image
size. Increase the image size limit by 200M until the situation is addressed.

* gnu/tests/install.scm (%simple-installation-script,
%extlinux-gpt-installation-script, %simple-installation-script-for-/dev/vda,
%raid-root-installation-script, %encrypted-root-installation-script): Increase
image size limit by 200M.
This commit is contained in:
Mathieu Othacehe 2020-06-30 14:31:45 +02:00
parent 14cce84ca7
commit 5e766fe5a2
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -163,7 +163,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 1.4G \\ mkpart primary ext2 3M 1.6G \\
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
@ -188,7 +188,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 1.4G \\ mkpart ext2 1M 1.6G \\
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
@ -419,7 +419,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 1.4G \\ mkpart primary ext2 3M 1.6G \\
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
@ -631,8 +631,8 @@ (define %raid-root-installation-script
export GUIX_BUILD_OPTIONS=--no-grafts export GUIX_BUILD_OPTIONS=--no-grafts
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 1.4G \\ mkpart primary ext2 3M 1.6G \\
mkpart primary ext2 1.4G 2.8G \\ mkpart primary ext2 1.6G 3.2G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
yes | mdadm --create /dev/md0 --verbose --level=mirror --raid-devices=2 \\ yes | mdadm --create /dev/md0 --verbose --level=mirror --raid-devices=2 \\
@ -658,7 +658,7 @@ (define %test-raid-root-os
%raid-root-os-source %raid-root-os-source
#:script #:script
%raid-root-installation-script %raid-root-installation-script
#:target-size (* 2800 MiB))) #:target-size (* 3200 MiB)))
(command (qemu-command/writable-image image))) (command (qemu-command/writable-image image)))
(run-basic-test %raid-root-os (run-basic-test %raid-root-os
`(,@command) "raid-root-os"))))) `(,@command) "raid-root-os")))))
@ -719,7 +719,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 1.4G \\ mkpart primary ext2 3M 1.6G \\
set 1 boot on \\ set 1 boot on \\
set 1 bios_grub on set 1 bios_grub on
echo -n " %luks-passphrase " | \\ echo -n " %luks-passphrase " | \\