Re: [PATCH] Pick up mountpoint set for protected partitions. (#498591)

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

 



Looks good,

Regards,

Hans


On 08/28/2009 04:28 AM, David Lehman wrote:
---
  iw/partition_dialog_gui.py |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index d38aa4e..c4fab06 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -277,6 +277,9 @@ class PartitionEditor:

                          if usedev.format.mountable:
                              usedev.format.mountpoint = mountpoint
+                elif self.origrequest.protected and usedev.format.mountable:
+                    # users can set a mountpoint for protected partitions
+                    usedev.format.mountpoint = mountpoint

                  request.weight = self.anaconda.platform.weight(mountpoint=mountpoint,
                                                                 fstype=request.format.type)

_______________________________________________
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