[PATCH 7/7] Allow creation of biosboot and prepboot partitions in the custom spoke.

David Lehman dlehman at redhat.com
Wed Sep 12 17:55:05 UTC 2012


On Wed, 2012-09-12 at 10:50 -0700, Jesse Keating wrote:
> On 09/12/2012 08:50 AM, David Lehman wrote:
> > @@ -834,7 +844,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> >
> >           # for fstype we'll need to instantiate a new DeviceFormat and schedule
> >           # creation of it
> > -        if fs_type != device.format.type:
> > +        if fs_type != device.format.name:
> >               self.clear_errors()
> >               with ui_storage_logger():
> >                   old_format = device.format
> 
> What is this change about?  Unrelated bug fix?
> 

Related bug fix, I guess. We populate the fstype combo with names and
then we try to compare them to types, which works for some formats and
not for others. It just happens that biosboot and prepboot are the
only/first ones whose name doesn't match their type.



More information about the anaconda-patches mailing list