[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] 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 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/platform.py b/platform.py
index 16e9df9..1a9ee96 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":
-- 
1.7.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]