[rhel7-branch 1/1] Do not create HFS+ EFI partition on Intel Macs

jktjkt installerbot-noreply at redhat.com
Wed May 6 21:37:41 UTC 2015


From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jan.kundrat at cesnet.cz>

This commit complements blivet's
c35aafe4b27318faee52b5a0ea44ca9a6fd4a1ec because RHEL7 doesn't support
working with HFS+ partitions.

The HW boots just fine with VFAT EFI system partition. The downside of
using VFAT is that there aren't pretty menus, but I prefer no menus but
working system over non-working system each time.
---
 pyanaconda/kickstart.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 0d722d1..222c389 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1119,11 +1119,8 @@ def execute(self, storage, ksdata, instClass):
             if self.onPart:
                 ksdata.onPart[kwargs["name"]] = self.onPart
         elif self.mountpoint == "/boot/efi":
-            if blivet.arch.isMactel():
-                ty = "hfs+"
-            else:
-                ty = "EFI System Partition"
-                self.fsopts = "defaults,uid=0,gid=0,umask=0077,shortname=winnt"
+            ty = "EFI System Partition"
+            self.fsopts = "defaults,uid=0,gid=0,umask=0077,shortname=winnt"
         else:
             if self.fstype != "":
                 ty = self.fstype


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/ab1f0d40de1b36067dd50d8bbdbe45cb5f8c9a8d


More information about the anaconda-patches mailing list