Blame SOURCES/0239-Don-t-guess-boot-efi-as-on-ppc-machines.patch

a85e8e
From 6a6010d2ac3123a5e7de5e6088a26bcd21ba25a5 Mon Sep 17 00:00:00 2001
a85e8e
From: Peter Jones <pjones@redhat.com>
a85e8e
Date: Thu, 20 Apr 2017 13:29:06 -0400
a85e8e
Subject: [PATCH 239/260] Don't guess /boot/efi/ as  on ppc machines
a85e8e
a85e8e
This should never be trying this, and since we've consolidated the
a85e8e
grubenv to always be on /boot/efi/EFI/redhat/, this code causes it to
a85e8e
always make the wrong decision.
a85e8e
a85e8e
Resolves: rhbz#1443809
a85e8e
a85e8e
Signed-off-by: Peter Jones <pjones@redhat.com>
a85e8e
---
a85e8e
 util/grub-install.c | 12 +-----------
a85e8e
 1 file changed, 1 insertion(+), 11 deletions(-)
a85e8e
a85e8e
diff --git a/util/grub-install.c b/util/grub-install.c
a85e8e
index 7d61c32be..947a2d2dd 100644
a85e8e
--- a/util/grub-install.c
a85e8e
+++ b/util/grub-install.c
a85e8e
@@ -1151,18 +1151,8 @@ main (int argc, char *argv[])
a85e8e
 	  char *d;
a85e8e
 
a85e8e
 	  is_guess = 1;
a85e8e
-	  d = grub_util_path_concat (2, bootdir, "macppc");
a85e8e
-	  if (!grub_util_is_directory (d))
a85e8e
-	    {
a85e8e
-	      free (d);
a85e8e
-	      d = grub_util_path_concat (2, bootdir, "efi");
a85e8e
-	    }
a85e8e
 	  /* Find the Mac HFS(+) System Partition.  */
a85e8e
-	  if (!grub_util_is_directory (d))
a85e8e
-	    {
a85e8e
-	      free (d);
a85e8e
-	      d = grub_util_path_concat (2, bootdir, "EFI");
a85e8e
-	    }
a85e8e
+	  d = grub_util_path_concat (2, bootdir, "macppc");
a85e8e
 	  if (!grub_util_is_directory (d))
a85e8e
 	    {
a85e8e
 	      free (d);
a85e8e
-- 
a85e8e
2.13.0
a85e8e