summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2017-11-15 00:32:44 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2017-11-15 00:48:09 +0300
commit5724a14e71f21ccfe865ed6fadae3f7683fc66e2 (patch)
treee0beb85068890dcb905a7ed1781aefb216b780c0
parent412716eff2d898f28636f68cb8761862f416cac3 (diff)
downloadguix-5724a14e71f21ccfe865ed6fadae3f7683fc66e2.tar.gz
tests: install: Increase target-size.
1200 MiB are too small for a btrfs-root-os, thus let increase it.

* gnu/tests/install.scm (run-install): Increase target-size to 2200 MiB.
(%btrfs-root-installation-script): Increase my-root partition size to 2G.
-rw-r--r--gnu/tests/install.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index a80c520ecc..0e97de0a87 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -202,7 +202,7 @@ reboot\n")
                            #:imported-modules '((gnu services herd)
                                                 (guix combinators))))
                       (installation-disk-image-file-system-type "ext4")
-                      (target-size (* 1200 MiB)))
+                      (target-size (* 2200 MiB)))
   "Run SCRIPT (a shell script following the GuixSD installation procedure) in
 OS to install TARGET-OS.  Return a VM image of TARGET-SIZE bytes containing
 the installed system.  The packages specified in PACKAGES will be appended to
@@ -793,7 +793,7 @@ export GUIX_BUILD_OPTIONS=--no-grafts
 ls -l /run/current-system/gc-roots
 parted --script /dev/vdb mklabel gpt \\
   mkpart primary ext2 1M 3M \\
-  mkpart primary ext2 3M 1G \\
+  mkpart primary ext2 3M 2G \\
   set 1 boot on \\
   set 1 bios_grub on
 mkfs.btrfs -L my-root /dev/vdb2