[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: tests: install: Fix device usage.
From: |
guix-commits |
Subject: |
branch master updated: tests: install: Fix device usage. |
Date: |
Wed, 29 Apr 2020 09:30:24 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c537d2b tests: install: Fix device usage.
c537d2b is described below
commit c537d2bcb7c652b4776435cd1e2a5119af43dd78
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Wed Apr 29 15:25:00 2020 +0200
tests: install: Fix device usage.
This is a follow-up of a860eddbbddeae5d3b6fe084e29ac9fafd2d6f02. Guided
installation tests are now run from an ISO image. Hence the main block
device
is vda and not vdb anymore.
* gnu/tests/install.scm (installation-target-os-for-gui-tests): Use
%minimal-os-on-vda instead of %minimal-os.
(%minimal-os-on-vda): Make sure that it replicates the config of
%minimal-os.
---
gnu/tests/install.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 8650474..019e21f 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -387,6 +387,7 @@ per %test-installed-os, this test is expensive in terms of
CPU and storage.")
(services (cons (service marionette-service-type
(marionette-configuration
(imported-modules '((gnu services herd)
+ (guix build utils)
(guix combinators)))))
%base-services))))
@@ -1058,7 +1059,7 @@ build (current-guix) and then store a couple of full
system images.")
(define* (installation-target-os-for-gui-tests
#:key (encrypted? #f))
(operating-system
- (inherit %minimal-os)
+ (inherit %minimal-os-on-vda)
(users (append (list (user-account
(name "alice")
(comment "Bob's sister")
@@ -1076,7 +1077,7 @@ build (current-guix) and then store a couple of full
system images.")
;; encryption support.
(swap-devices (if encrypted? '() '("/dev/vda2")))
(services (cons (service dhcp-client-service-type)
- (operating-system-user-services %minimal-os)))))
+ (operating-system-user-services %minimal-os-on-vda)))))
(define* (installation-target-desktop-os-for-gui-tests
#:key (encrypted? #f))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: tests: install: Fix device usage.,
guix-commits <=