summaryrefslogtreecommitdiff
blob: eb661c0f3bdfa834eb4bb7e5eb83a29d245ea550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 1d235e50125a57ad36223260638347905b035022 Mon Sep 17 00:00:00 2001
From: Alexys Jacob <ultrabug@gentoo.org>
Date: Wed, 17 May 2017 18:06:14 +0200
Subject: [PATCH 7/9] raid setup: add support for gentoo linux

Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
---
 dist/common/scripts/scylla_raid_setup | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dist/common/scripts/scylla_raid_setup b/dist/common/scripts/scylla_raid_setup
index 8bb42cfe..36664b27 100755
--- a/dist/common/scripts/scylla_raid_setup
+++ b/dist/common/scripts/scylla_raid_setup
@@ -88,6 +88,8 @@ fi
 
 if is_debian_variant; then
     env DEBIAN_FRONTEND=noninteractive apt-get -y install mdadm xfsprogs
+elif is_gentoo_variant; then
+    emerge -uq sys-fs/mdadm sys-fs/xfsprogs
 else
     yum -y install mdadm xfsprogs
 fi
-- 
2.12.2