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