From e2bdb306624186d9395e466a31f0a51b2e8d07c7 Mon Sep 17 00:00:00 2001
From: Arne Wiebalck <Arne.Wiebalck@cern.ch>
Date: Fri, 7 Jun 2019 14:34:14 +0200
Subject: [PATCH] Software RAID: Add mdadm to IPA images

With the addition of Software RAID we need 'mdadm' in our images.

Change-Id: I29a4ce98dbd456b104683a2202ba3115b966469d
---
 Dockerfile                                   | 2 +-
 imagebuild/tinyipa/build_files/finalreqs.lst | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 17541441d..74833d714 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,7 +24,7 @@ RUN proxy.sh apt-get update && \
         python2.7 python2.7-dev python-pip qemu-utils parted hdparm \
         util-linux genisoimage git gcc bash coreutils tgt dmidecode \
         ipmitool psmisc dosfstools bsdmainutils open-iscsi udev \
-        smartmontools iptables lshw
+        smartmontools iptables lshw mdadm
 
 # Some cleanup
 RUN proxy.sh apt-get -y autoremove && \
diff --git a/imagebuild/tinyipa/build_files/finalreqs.lst b/imagebuild/tinyipa/build_files/finalreqs.lst
index fa210ab72..4aad8bb77 100644
--- a/imagebuild/tinyipa/build_files/finalreqs.lst
+++ b/imagebuild/tinyipa/build_files/finalreqs.lst
@@ -14,3 +14,4 @@ util-linux.tcz
 glib2.tcz
 iproute2.tcz
 smartmontools.tcz
+mdadm.tcz