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