diff options
author | Chris Lumens <clumens@redhat.com> | 2008-04-01 12:11:17 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-04-01 14:44:02 -0400 |
commit | d2be49d9e8212c85afd20e4fe093fbe24c17f9bf (patch) | |
tree | 2a7321288838f8f1a80577bd1bb7ef1590dae113 /partitions.py | |
parent | c2807be5ffa9f58c4a0fcac80e6c915d2a8cf19b (diff) | |
download | anaconda-d2be49d9e8212c85afd20e4fe093fbe24c17f9bf.tar.gz anaconda-d2be49d9e8212c85afd20e4fe093fbe24c17f9bf.tar.xz anaconda-d2be49d9e8212c85afd20e4fe093fbe24c17f9bf.zip |
Bootable requests can not be on logical volumes (#439270).
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/partitions.py b/partitions.py index c4a606cfd..96b0cd9d4 100644 --- a/partitions.py +++ b/partitions.py @@ -834,7 +834,7 @@ class Partitions: def getBaseReqs(reqs): n = 0 - while not reduce(lambda x,y: x and (y.type != REQUEST_RAID), + while not reduce(lambda x,y: x and (y.type not in [REQUEST_RAID, REQUEST_LV]), reqs, True) \ and len(reqs) > n: req = reqs[n] @@ -843,6 +843,9 @@ class Partitions: reqs.append(self.getRequestByID(id)) del reqs[n] continue + elif req.type == REQUEST_LV: + del reqs[n] + continue n += 1 return reqs |