Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Hardened (http://www.linux-archive.org/gentoo-hardened/)
-   -   Reuse existing HFS+ EFI partitions in autopart. (#821187) (http://www.linux-archive.org/gentoo-hardened/667134-reuse-existing-hfs-efi-partitions-autopart-821187-a.html)

David Lehman 05-15-2012 06:06 PM

Reuse existing HFS+ EFI partitions in autopart. (#821187)
 
---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.