guix-commits
[Top][All Lists]
Advanced

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

02/03: hydra: bayfront: Update to current APIs.


From: Ludovic Courtès
Subject: 02/03: hydra: bayfront: Update to current APIs.
Date: Sun, 25 Nov 2018 17:40:56 -0500 (EST)

civodul pushed a commit to branch master
in repository maintenance.

commit d50b057b99c6e550a860c6c1eebfc812cc4ddaca
Author: Ludovic Courtès <address@hidden>
Date:   Sat Nov 17 18:01:53 2018 +0100

    hydra: bayfront: Update to current APIs.
    
    * hydra/bayfront.scm: Remove 'title' field of 'file-system'.  Remove
    'initrd' field and add 'initrd-modules'.
---
 hydra/bayfront.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 16b136c..3bda854 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -79,7 +79,6 @@ Happy hacking!\n"))
                          (target "/dev/md0")
                          (type raid-device-mapping))))
   (file-systems (cons (file-system
-                        (title 'device)
                         (device "/dev/md0")
                         (mount-point "/")
                         (type "ext4")
@@ -87,10 +86,7 @@ Happy hacking!\n"))
                       %base-file-systems))
 
   ;; Add a kernel module for RAID-10.
-  (initrd (lambda (file-systems . rest)
-            (apply base-initrd file-systems
-                   #:extra-modules '("raid10")
-                                   rest)))
+  (initrd-modules (cons "raid10" %base-initrd-modules))
 
   (packages (cons* certbot wget iptables jnettop
                    mdadm vim lm-sensors openssh



reply via email to

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