diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-09-20 03:31:26 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-09-20 03:31:26 +0000 |
commit | 31f1add4879da48efb7af21fc5c575692cc3709d (patch) | |
tree | 7a541b8f54f91ed8309da17752e205b40db2cf30 /partitions.py | |
parent | 8307d33391423f13c1deed409b80d8e381582a93 (diff) | |
download | anaconda-31f1add4879da48efb7af21fc5c575692cc3709d.tar.gz anaconda-31f1add4879da48efb7af21fc5c575692cc3709d.tar.xz anaconda-31f1add4879da48efb7af21fc5c575692cc3709d.zip |
merge from taroon
fairly large merge, but all fairly obvious stuff. will test in a tree tomorrow
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py index eb62c4509..878419a51 100644 --- a/partitions.py +++ b/partitions.py @@ -865,7 +865,6 @@ class Partitions: bootreqs = self.getBootableRequest() if bootreqs: for bootreq in bootreqs: - # XXX 390 can't have boot on RAID if (bootreq and (isinstance(bootreq, partRequests.RaidRequestSpec)) and (not raid.isRaid1(bootreq.raidlevel))): @@ -879,6 +878,13 @@ class Partitions: errors.append(_("Bootable partitions cannot be on a " "logical volume.")) + # most arches can't have boot on RAID + if (bootreq and + (isinstance(bootreq, partRequests.RaidRequestSpec)) and + (iutil.getArch() not in raid.raidBootArches)): + errors.append("Bootable partitions cannot be on a RAID " + "device.") + if foundSwap == 0: warnings.append(_("You have not specified a swap partition. " "Although not strictly required in all cases, " |