Hello,

the hydra replacement comes with two hard disks, which we would like to set
up as a raid10. For this, one needs mdadm. While it can be pulled in during
installation via "guix package -I mdadm", I think it is preferable that it
already be around, the same as cryptsetup, for instance. The attached patch
does this.

What do you think?

Andreas

>From eda9d6e5814c0e53f481599d0efd09d5237444d6 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andr...@enge.fr>
Date: Thu, 14 Jul 2016 15:07:49 +0200
Subject: [PATCH] install: Add mdadm to the image.

* gnu/system/install.scm (installation-os)[packages]: Add mdadm.
---
 gnu/system/install.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 329c7ab..734a361 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <l...@gnu.org>
 ;;; Copyright © 2015 Mark H Weaver <m...@netris.org>
+;;; Copyright © 2016 Andreas Enge <andr...@enge.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -392,6 +393,7 @@ Use Alt-F2 for documentation.
                      parted ddrescue
                      grub                  ;mostly so xrefs to its manual work
                      cryptsetup
+                     mdadm
                      btrfs-progs
                      wireless-tools iw wpa-supplicant-minimal iproute
                      ;; XXX: We used to have GNU fdisk here, but as of version
-- 
2.8.4

Reply via email to