summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
Diffstat (limited to 'partRequests.py')
-rw-r--r--partRequests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/partRequests.py b/partRequests.py
index 9870babaf..680588408 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -630,8 +630,8 @@ class RaidRequestSpec(RequestSpec):
bootreq = partitions.getBootableRequest()
if not bootreq and self.mountpoint:
# XXX 390 can't have boot on raid
- if ((self.mountpoint == "/boot" or self.mountpoint == "/")
- and not raid.isRaid1(self.raidlevel)):
+ if (self.mountpoint in partitions.getBootableMountpoints()
+ and not raid.isRaid1(self.raidlevel)):
return _("Bootable partitions can only be on RAID1 devices.")
minmembers = raid.get_raid_min_members(self.raidlevel)