Skip to content

Commit

Permalink
Disable MacEFI platform type and hfs+ ESP (#1119305)
Browse files Browse the repository at this point in the history
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
(cherry picked from commit c35aafe)
  • Loading branch information
bcl committed May 28, 2015
1 parent fd9b4b1 commit 2f42975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions blivet/__init__.py
Expand Up @@ -1834,10 +1834,7 @@ def getFSType(self, mountpoint=None):
elif mountpoint == "/boot":
fstype = self.defaultBootFSType
elif mountpoint == "/boot/efi":
if arch.isMactel():
fstype = "macefi"
else:
fstype = "efi"
fstype = "efi"

return fstype

Expand Down
4 changes: 1 addition & 3 deletions blivet/platform.py
Expand Up @@ -420,9 +420,7 @@ def getPlatform():
elif arch.isS390():
return S390()
elif arch.isEfi():
if arch.isMactel():
return MacEFI()
elif arch.isAARCH64():
if arch.isAARCH64():
return Aarch64EFI()
else:
return EFI()
Expand Down

0 comments on commit 2f42975

Please sign in to comment.