[rhel7/blivet] Disable MacEFI platform type and hfs+ ESP (#1119305)
Brian C. Lane
bcl at redhat.com
Thu Aug 7 23:13:36 UTC 2014
hfsplus-tools aren't available in RHEL so we can't make a hfs+ ESP. But
we can make a standard ESP which will appear in the boot menu as 'EFI
Boot'
Related: rhbz#1119305
---
blivet/__init__.py | 3 ---
blivet/platform.py | 4 +---
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index 3ff2826..d059e9c 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -1915,9 +1915,6 @@ class Blivet(object):
elif mountpoint == "/boot":
fstype = self.defaultBootFSType
elif mountpoint == "/boot/efi":
- if arch.isMactel():
- fstype = "hfs+"
- else:
fstype = "efi"
return fstype
diff --git a/blivet/platform.py b/blivet/platform.py
index 3b722f5..edd5d44 100644
--- a/blivet/platform.py
+++ b/blivet/platform.py
@@ -392,9 +392,7 @@ def getPlatform():
elif arch.isSparc():
return Sparc()
elif arch.isEfi():
- if arch.isMactel():
- return MacEFI()
- elif arch.isAARCH64():
+ if arch.isAARCH64():
return Aarch64EFI()
else:
return EFI()
--
1.9.3
More information about the anaconda-patches
mailing list