[PATCH] Don't allow setting a mountpoint for an fstype we cannot mount.
Vratislav Podzimek
vpodzime at redhat.com
Fri Mar 22 19:43:23 UTC 2013
On Fri, 2013-03-22 at 11:48 -0500, David Lehman wrote:
> Related: rhbz#910506
> ---
> pyanaconda/ui/gui/spokes/custom.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index cb25709..a13dd59 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -1393,7 +1393,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> nameEntry.set_text(device_name)
>
> mountPointEntry.set_text(getattr(device.format, "mountpoint", "") or "")
> - mountPointEntry.set_sensitive(hasattr(device.format, "mountpoint"))
> + mountPointEntry.set_sensitive(device.format.mountable)
>
> # FIXME: Make sure you cannot set a label for specific btrfs subvols
> labelEntry.set_text(getattr(device.format, "label", "") or "")
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list