[PATCH 1/2] Reuse existing HFS+ EFI partitions in autopart. (#821187)

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

 



---
 pyanaconda/storage/partitioning.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index f1ee271..0a4f331 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -128,7 +128,9 @@ def _schedulePartitions(storage, disks):
             log.debug(request)
             log.debug(storage.bootLoaderDevice)
             continue
-        elif request.fstype == "efi" and storage.bootLoaderDevice:
+        elif request.fstype in ("efi", "hfs+") and \
+             storage.bootLoaderDevice and \
+             storage.bootLoaderDevice.format.type == request.fstype:
             # there should never be a need for more than one of these
             # partitions, so skip them.
             log.info("skipping unneeded stage1 efi request")
-- 
1.7.6

_______________________________________________
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