don't set PMBR boot flag on EFI (#754850)
On Thu, 2012-02-09 at 15:55 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl@redhat.com>
>
> ---
> pyanaconda/storage/formats/disklabel.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
I'd guess isMactel implies isEfi but, either way, ack.
>
> 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_P MBR_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 )
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|