From 7495404bbab0077d62f377a723c3420e4754511a Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Mon, 24 Jul 2017 09:13:47 -0500 Subject: [PATCH] Fix symlink to work on both EFI and BIOS machines, Resolves: rhbz#1335533 Signed-off-by: Michael Cronenworth --- grub2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/grub2.spec b/grub2.spec index 04f89f4..42affd3 100644 --- a/grub2.spec +++ b/grub2.spec @@ -45,7 +45,7 @@ Name: grub2 Epoch: 1 Version: 2.02 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base @@ -377,7 +377,7 @@ EOF %ifarch %{efiarchs} mkdir -p boot/efi/EFI/%{efidir}/ -ln -s /boot/efi/EFI/%{efidir}/grubenv boot/grub2/grubenv +ln -s ../efi/EFI/%{efidir}/grubenv boot/grub2/grubenv %endif # Don't run debuginfo on all the grub modules and whatnot; it just @@ -558,6 +558,10 @@ fi %{_datarootdir}/grub/themes/starfield %changelog +* Mon Jul 24 2017 Michael Cronenworth - 2.02-2 +- Fix symlink to work on both EFI and BIOS machines + Resolves: rhbz#1335533 + * Mon Jul 10 2017 Peter Jones - 2.02-1 - Rebased to newer upstream for fedora-27