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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Thu, 13 May 2010, David Lehman wrote:

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:


- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkv0p4sACgkQ5hsjjIy1Vkl9bACfXBHzME8oRkE8QiTuoJEoR0A9
D2oAn0LD5BPr6/1OeTjFMJCw/AM8TMUs
=weX8
-----END PGP SIGNATURE-----


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