[blivet:master] Include "ntfs" explicitly among unsupported filesystems.

Brian C. Lane bcl at redhat.com
Tue Dec 9 19:44:51 UTC 2014


On Tue, Dec 09, 2014 at 10:38:28AM -0500, mulhern wrote:
> Previously, it was excluded from supported filesystems implicitly,
> by means of the formattable attribute, which was always false for ntfs.
> 
> This does not change the behavior of anaconda at all, but allows more
> consistent management of filesystems in blivet.
> 
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
>  pyanaconda/ui/gui/spokes/custom.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index fca7f3f..e8ad559 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -286,11 +286,10 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
>              obj = cls()
>  
>              # btrfs is always handled by on_device_type_changed
> -            supported_fs = (obj.type != "btrfs" and
> -                            obj.type != "tmpfs" and
> +            supported_fs = (obj.type not in ("btrfs", "ntfs", "tmpfs") and
>                              obj.supported and obj.formattable and
>                              (isinstance(obj, FS) or
> -                             obj.type in ["biosboot", "prepboot", "swap"]))
> +                             obj.type in ("biosboot", "prepboot", "swap")))
>              if supported_fs:
>                  self._fs_types.append(obj.name)
>  
> -- 
> 1.9.3

Ack.

Does anything specific need to be done for kickstart?

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list