Re: [PATCH] Allow setting a mountpoint w/o formatting an encrypted partition. (#495417)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
> index 9499ea7..8a098a4 100644
> --- a/iw/partition_dialog_gui.py
> +++ b/iw/partition_dialog_gui.py
> @@ -271,14 +271,12 @@ class PartitionEditor:
>                      elif not self.fsoptionsDict["formatcb"].get_active():
>                          creates = devicetree.findActions(type="create",
>                                                           object="format",
> -                                                         path=request.format.device)
> +                                                         path=usedev.path)
>                          for action in creates:
>                              devicetree.cancelAction(action)
>  
> -                        request.format.exists = True
> -
> -                        if request.format.mountable:
> -                            request.format.mountpoint = mountpoint
> +                        if usedev.format.mountable:
> +                            usedev.format.mountpoint = mountpoint
>  
>                  request.weight = self.anaconda.platform.weight(mountpoint=mountpoint,
>                                                                 fstype=request.format.type)

Go with it.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux