mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
tests: install: Increase image size limit.
Commits0eed771275
and614a1e3fa2
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:
parent
14cce84ca7
commit
5e766fe5a2
1 changed files with 7 additions and 7 deletions
|
@ -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 " | \\
|
||||||
|
|
Loading…
Reference in a new issue