summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-19 23:08:34 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-19 23:08:34 +0000
commit42afca090cd94f1639a18bc1173234626c06098a (patch)
treed9ecbd96eb2e3608736007f3a27f3676a934be7e /fsset.py
parent8e66c17534afff7dac0d1d1782f1209e4ea00329 (diff)
downloadanaconda-42afca090cd94f1639a18bc1173234626c06098a.tar.gz
anaconda-42afca090cd94f1639a18bc1173234626c06098a.tar.xz
anaconda-42afca090cd94f1639a18bc1173234626c06098a.zip
if we don't have any raid modules, then bail on being able to support
raid. and no longer need raidtools
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index e3b0224ec..1ac597d08 100644
--- a/fsset.py
+++ b/fsset.py
@@ -629,7 +629,10 @@ class raidMemberDummyFileSystem(FileSystemType):
self.maxSizeMB = 1024 * 1024
self.supported = 1
- self.packages = [ "raidtools", "mdadm" ]
+ if len(availRaidLevels) == 0:
+ self.supported = 0
+
+ self.packages = [ "mdadm" ]
def formatDevice(self, entry, progress, chroot='/'):
# mkraid did all we need to format this partition...