summaryrefslogtreecommitdiffstats
path: root/iw/partition_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-04-15 18:04:17 +0000
committerJeremy Katz <katzj@redhat.com>2004-04-15 18:04:17 +0000
commit770b1464eb6c93b583fc71805824f134f5be0e03 (patch)
treed377598fc3db3c7795c75755c1c480894c4b8320 /iw/partition_gui.py
parentc2a0baf729d10d5a4a94f52eab59093be0f5eb64 (diff)
downloadanaconda-770b1464eb6c93b583fc71805824f134f5be0e03.tar.gz
anaconda-770b1464eb6c93b583fc71805824f134f5be0e03.tar.xz
anaconda-770b1464eb6c93b583fc71805824f134f5be0e03.zip
ignore the tiny < 1mb partitions that just confuse people (#119479)
Diffstat (limited to 'iw/partition_gui.py')
-rw-r--r--iw/partition_gui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 1cf18bc95..14460b395 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -820,6 +820,9 @@ class PartitionWindow(InstallWindow):
if part.type & parted.PARTITION_METADATA:
part = disk.next_partition(part)
continue
+ # ignore the tiny < 1 MB partitions (#119479)
+ if getPartSizeMB(part) <= 1.0:
+ continue
stripe.add(part)
device = get_partition_name(part)