Fix symlink to work on both EFI and BIOS machines, Resolves: rhbz#1335533

Signed-off-by: Michael Cronenworth <mike@cchtml.com>
This commit is contained in:
Michael Cronenworth 2017-07-24 09:13:47 -05:00
parent bc092b9bcd
commit 7495404bba
1 changed files with 6 additions and 2 deletions

View File

@ -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 <mike@cchtml.com> - 2.02-2
- Fix symlink to work on both EFI and BIOS machines
Resolves: rhbz#1335533
* Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
- Rebased to newer upstream for fedora-27