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

6b3c76
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
6b3c76
Subject: [PATCH 239/261] 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
6b3c76
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);
6b3c76
-- 
6b3c76
2.13.5
6b3c76