[PATCH 2/6] Automatic partitioning should yield no more than one PReP partition.

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

 



Resolves: rhbz#579715
---
 storage/partitioning.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 00c1986..69ebc4b 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -93,6 +93,10 @@ def _schedulePartitions(anaconda, disks):
 
         if request.fstype is None:
             request.fstype = anaconda.storage.defaultFSType
+        elif request.fstype == "prepboot" and anaconda.platform.bootDevice():
+            # there should never be a need for more than one PReP partition
+            continue
+
         # This is a little unfortunate but let the backend dictate the rootfstype
         # so that things like live installs can do the right thing
         if request.mountpoint == "/" and anaconda.backend.rootFsType != None:
-- 
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux