summaryrefslogtreecommitdiff
blob: bdae062e8a16ccf540597c7529f89a3179ae1e5e (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 412f96a1bfc473e974d14b13ddba28c15e3a3370 Mon Sep 17 00:00:00 2001
From: Alexys Jacob <ultrabug@gentoo.org>
Date: Wed, 17 May 2017 18:05:45 +0200
Subject: [PATCH 5/9] kernel check: add support for gentoo linux

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

diff --git a/dist/common/scripts/scylla_kernel_check b/dist/common/scripts/scylla_kernel_check
index 76ba301b..e27bb9a5 100755
--- a/dist/common/scripts/scylla_kernel_check
+++ b/dist/common/scripts/scylla_kernel_check
@@ -7,6 +7,8 @@
 if [ ! -f /sbin/mkfs.xfs ]; then
     if is_debian_variant; then
         apt-get install -y xfsprogs
+    elif is_gentoo_variant; then
+        emerge -uq sys-fs/xfsprogs
     else
         yum install -y xfsprogs
     fi
-- 
2.12.2