summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-23 17:26:29 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-24 12:27:16 -0500
commitb979d7ea819286e75f56e4473bf107e93259eafd (patch)
treef6fe4044dd388fb15c653968b87622897b39d42e /iw
parente79b57827f190d3827fd4ee20d58805cfafec683 (diff)
downloadanaconda-b979d7ea819286e75f56e4473bf107e93259eafd.tar.gz
anaconda-b979d7ea819286e75f56e4473bf107e93259eafd.tar.xz
anaconda-b979d7ea819286e75f56e4473bf107e93259eafd.zip
Allow setting a mountpoint w/o formatting an encrypted partition. (#495417)
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_dialog_gui.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 9499ea75b..8a098a42c 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)