summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-01 21:46:43 +0000
committerChris Lumens <clumens@redhat.com>2006-06-01 21:46:43 +0000
commit08be22b02d26d7480099df0674c300146e324591 (patch)
treef9a3b49be22c97d58bcf1f758bcff87477eb66cd
parentec8ef51355464fa46c7efe3cdd89751424e51875 (diff)
downloadanaconda-08be22b02d26d7480099df0674c300146e324591.tar.gz
anaconda-08be22b02d26d7480099df0674c300146e324591.tar.xz
anaconda-08be22b02d26d7480099df0674c300146e324591.zip
If the volume group's physical extent size is other than what we expect, make
sure to add it to the list (#185272).
-rw-r--r--ChangeLog4
-rw-r--r--iw/lvm_dialog_gui.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 80bb96d93..89ba93e37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
* rescue.py (runRescue): Make sure to set the install method in
rescue mode.
+ * iw/lvm_dialog_gui.py (VolumeGroupEditor.createPEOptionMenu): If the
+ volume group's physical extent size is other than what we expect, make
+ sure to add it to the list (#185272).
+
* ui/anaconda.glade: Don't specify a window position. This will help
when the new rhpxl stuff makes it in.
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 365efd686..bce7d3392 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -245,8 +245,8 @@ class VolumeGroupEditor:
defindex = None
actualPE = lvm.getPossiblePhysicalExtents(floor=1024)
for curpe in actualPE:
- # dont show PE over 128M
- if curpe > 131072:
+ # dont show PE over 128M, unless it's the default
+ if curpe > 131072 and curpe != default:
continue
val = self.prettyFormatPESize(curpe)