diff options
author | David Lehman <dlehman@redhat.com> | 2012-09-11 16:54:27 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2012-09-13 11:13:23 -0500 |
commit | 838be319ff39017af99521e322af5d5349c36b5d (patch) | |
tree | 3da0dd5a44e1e99931ebaba6644bf0cb9133c8d0 /pyanaconda/storage | |
parent | 3a3f2efa710fa7fc405c2ba0c00131c2baf9bb97 (diff) | |
download | anaconda-838be319ff39017af99521e322af5d5349c36b5d.tar.gz anaconda-838be319ff39017af99521e322af5d5349c36b5d.tar.xz anaconda-838be319ff39017af99521e322af5d5349c36b5d.zip |
Allow creation of biosboot and prepboot partitions in the custom spoke.
Also switches the reformat check to use format names instead of
types since the names are what we populate the fstype combo with.
Diffstat (limited to 'pyanaconda/storage')
-rw-r--r-- | pyanaconda/storage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py index cfabc2de6..7d632ea40 100644 --- a/pyanaconda/storage/__init__.py +++ b/pyanaconda/storage/__init__.py @@ -1791,8 +1791,8 @@ class Storage(object): if not mountpoint: # just return the default pass - elif mountpoint.lower() == "swap": - fstype = "swap" + elif mountpoint.lower() in ("swap", "biosboot", "prepboot"): + fstype = mountpoint.lower() elif mountpoint == "/boot": fstype = self.defaultBootFSType elif mountpoint == "/boot/efi": |