guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: build-machines: Update swap-devices field


From: Maxim Cournoyer
Subject: branch master updated: hydra: build-machines: Update swap-devices field definition.
Date: Thu, 17 Mar 2022 17:48:05 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new ea3817d  hydra: build-machines: Update swap-devices field definition.
ea3817d is described below

commit ea3817d9c8ae8de2cca56796b194957503c19e4a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 17 13:45:28 2022 -0400

    hydra: build-machines: Update swap-devices field definition.
    
    * hydra/modules/sysadmin/build-machines.scm
    (berlin-new-build-machine-os)[swap-devices]: Use a swap-space record
    for the device.
---
 hydra/modules/sysadmin/build-machines.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hydra/modules/sysadmin/build-machines.scm 
b/hydra/modules/sysadmin/build-machines.scm
index 1f01fd8..08aef96 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -204,7 +204,8 @@ are 10022 and 15900.  Keep secret-service port local."
                  (string-append "127.0.0.1 localhost " host-name "\n"
                                 "::1       localhost " host-name "\n"
                                 "141.80.167.131 ci.guix.gnu.org\n")))
-    (swap-devices (list "/dev/sda2"))
+    (swap-devices (list (swap-space
+                         (target "/dev/sda2"))))
     (file-systems
      (cons* (file-system
               (mount-point "/boot/efi")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]