diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-19 23:08:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-19 23:08:34 +0000 |
commit | 42afca090cd94f1639a18bc1173234626c06098a (patch) | |
tree | d9ecbd96eb2e3608736007f3a27f3676a934be7e /fsset.py | |
parent | 8e66c17534afff7dac0d1d1782f1209e4ea00329 (diff) | |
download | anaconda-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.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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... |