guix-commits
[Top][All Lists]
Advanced

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

03/06: hydra: bayfront: Remove 'md0' variable (no functional change).


From: Ludovic Courtès
Subject: 03/06: hydra: bayfront: Remove 'md0' variable (no functional change).
Date: Sat, 3 Dec 2016 11:18:51 +0000 (UTC)

civodul pushed a commit to branch master
in repository maintenance.

commit bf22a4b81ea65576ef65a03ef79ab931fee23c72
Author: Ludovic Courtès <address@hidden>
Date:   Fri Dec 2 11:35:04 2016 +0100

    hydra: bayfront: Remove 'md0' variable (no functional change).
---
 hydra/bayfront.scm |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index c20c8d6..f1bedd1 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -17,12 +17,6 @@
                   (lsh-public-key (local-file "keys/lsh/mthl.pub")))))
 
 
-(define md0
-  (mapped-device
-    (source (list "/dev/sda2" "/dev/sdb2"))
-      (target "/dev/md0")
-      (type raid-device-mapping)))
-
 (define %gc-job
   ;; The garbage collection mcron job, once per day.
   #~(job '(next-hour '(4))
@@ -35,13 +29,16 @@
 
   (bootloader (grub-configuration (device "/dev/sda")))
 
-  (mapped-devices (list md0))
+  (mapped-devices (list (mapped-device
+                         (source (list "/dev/sda2" "/dev/sdb2"))
+                         (target "/dev/md0")
+                         (type raid-device-mapping))))
   (file-systems (cons (file-system
                         (title 'device)
                         (device "/dev/md0")
-                        (dependencies (list md0))
                         (mount-point "/")
-                        (type "ext4"))
+                        (type "ext4")
+                        (dependencies mapped-devices))
                       %base-file-systems))
 
   ;; Add a kernel module for RAID-10.



reply via email to

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