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

[f17-branch master] don't set PMBR boot flag on EFI (#754850)



From: "Brian C. Lane" <bcl redhat com>

---
 pyanaconda/storage/formats/disklabel.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/formats/disklabel.py b/pyanaconda/storage/formats/disklabel.py
index f43468a..436ee64 100644
--- a/pyanaconda/storage/formats/disklabel.py
+++ b/pyanaconda/storage/formats/disklabel.py
@@ -161,7 +161,7 @@ class DiskLabel(DeviceFormat):
 
             # Set the boot flag on the GPT PMBR, this helps some BIOS systems boot
             if self._partedDisk.isFlagAvailable(parted.DISK_GPT_PMBR_BOOT):
-                if iutil.isMactel():
+                if iutil.isMactel() or iutil.isEfi():
                     log.debug("Not setting pmbr_boot on %s" % (self._partedDisk,))
                 else:
                     self._partedDisk.setFlag(parted.DISK_GPT_PMBR_BOOT)
-- 
1.7.6.5


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