summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-01 16:59:27 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-01 16:59:27 +0000
commit348780b165036458d598486921517a8181a12774 (patch)
treedf65838542cf79983e1042275fbcd28707087545 /autopart.py
parent8ea778d4e50b112b1b494b12c4879eb3f9a78945 (diff)
downloadanaconda-348780b165036458d598486921517a8181a12774.tar.gz
anaconda-348780b165036458d598486921517a8181a12774.tar.xz
anaconda-348780b165036458d598486921517a8181a12774.zip
make /boot/efi not being a vfat partition an error instead of a warning (ia64)
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index d4b37b3ce..05bc11ff4 100644
--- a/autopart.py
+++ b/autopart.py
@@ -962,6 +962,8 @@ def doPartitioning(diskset, requests, doRefresh = 1):
raise PartitioningWarning, _("Boot partition %s doesn't belong to a BSD disk label. SRM won't be able to boot from this paritition. Use a partition belonging to a BSD disk label or change this device disk label to BSD.") %(requests.getBootableRequest().mountpoint)
elif ret == BOOTALPHA_NO_RESERVED_SPACE:
raise PartitioningWarning, _("Boot partition %s doesn't belong to a disk with enough free space at its beginning for the bootloader to live on. Make sure that there's at least 5MB of free space at the beginning of the disk that contains /boot") %(requests.getBootableRequest().mountpoint)
+ elif ret == BOOTEFI_NOT_VFAT:
+ raise PartioningError, _("Boot partition %s isn't a VFAT partition. EFI won't be able to boot from this partition.") %(requests.getBootableRequest().mountpoint,)
elif ret != PARTITION_SUCCESS:
# more specific message?
raise PartitioningWarning, _("Boot partition %s may not meet booting constraints for your architecture. Creation of a boot disk is highly encouraged.") %(requests.getBootableRequest().mountpoint)