diff options
author | Chris Lumens <clumens@redhat.com> | 2008-07-29 11:04:04 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-07-29 11:04:04 -0400 |
commit | 2cb7a37a1e027f304607744b477cfa333968b731 (patch) | |
tree | c42bfadce641d98c00fea2744f4bfd1108e3316f /partitions.py | |
parent | 468a1881b686b5c828714d07185f369faf5c8878 (diff) | |
download | anaconda-2cb7a37a1e027f304607744b477cfa333968b731.tar.gz anaconda-2cb7a37a1e027f304607744b477cfa333968b731.tar.xz anaconda-2cb7a37a1e027f304607744b477cfa333968b731.zip |
Use attributes to tell us whether filesystems are bootable (#457037).
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/partitions.py b/partitions.py index 785a85d59..8b20bed41 100644 --- a/partitions.py +++ b/partitions.py @@ -1246,10 +1246,8 @@ class Partitions: errors.append(_("Bootable partitions cannot be on a RAID " "device.")) - # XFS causes problems as /boot. see #138673 and others - # gfs2 and ext4 aren't supported by grub - if (bootreq.fstype and - bootreq.fstype.getName() in ("xfs", "gfs2", "ext4")): + # Lots of filesystems types don't support /boot. + if (bootreq.fstype and not bootreq.fstype.isBootable()): errors.append(_("Bootable partitions cannot be on an %s " "filesystem.")%(bootreq.fstype.getName(),)) @@ -1263,8 +1261,6 @@ class Partitions: errors.append(_("Bootable partitions cannot be on an " "encrypted block device")) - - if foundSwap == 0: warnings.append(_("You have not specified a swap partition. " "Although not strictly required in all cases, " |