From e46b1d5f4a31dbc819a8728a669c8c4e86eeb588 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 18 Feb 2010 21:24:31 +0100 Subject: 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. --- platform.py | 1 + 1 file changed, 1 insertion(+) (limited to 'platform.py') 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": -- cgit