summaryrefslogtreecommitdiffstats
path: root/platform.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-02-18 21:24:31 +0100
committerHans de Goede <hdegoede@redhat.com>2010-02-20 20:20:24 +0100
commite46b1d5f4a31dbc819a8728a669c8c4e86eeb588 (patch)
treea22c872edd2dd2f39c37d55d2dab34baabba923e /platform.py
parent1d17c6d95fc7500e5419c4e588dfb8a53c02a935 (diff)
downloadanaconda-e46b1d5f4a31dbc819a8728a669c8c4e86eeb588.tar.gz
anaconda-e46b1d5f4a31dbc819a8728a669c8c4e86eeb588.tar.xz
anaconda-e46b1d5f4a31dbc819a8728a669c8c4e86eeb588.zip
Don't traceback when a user tries to put /boot on an LV (#566569)
I did a patch to fix this before, but missed one little bit, this fixes this.
Diffstat (limited to 'platform.py')
-rw-r--r--platform.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform.py b/platform.py
index 16e9df99c..1a9ee9602 100644
--- a/platform.py
+++ b/platform.py
@@ -236,6 +236,7 @@ class EFI(Platform):
# Don't try to check the disklabel on lv's etc, using lv for /boot
# is already checked in the generic Platform.checkBootRequest()
+ partitions = []
if req.type == "partition":
partitions = [ req ]
elif req.type == "mdarray":