mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +00:00
Use the proper macro instead of hard coding fedora
The efi-srpm-macros package contais a macro for the ESP vendor directory to make sure that the correct one for each distro is used. But the grub2 package is instead hardcoding it to "fedora", use the macro instead. Signed-off-by: Benjamin Herrenschmidt <benh@amazon.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
0807216694
commit
5a095a7619
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ rm -r /boot/grub2.tmp/ || :
|
||||||
%posttrans common
|
%posttrans common
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
EFI_HOME=/boot/efi/EFI/fedora
|
EFI_HOME=%{efi_esp_dir}
|
||||||
GRUB_HOME=/boot/grub2
|
GRUB_HOME=/boot/grub2
|
||||||
|
|
||||||
if test ! -f ${EFI_HOME}/grub.cfg; then
|
if test ! -f ${EFI_HOME}/grub.cfg; then
|
||||||
|
|
Loading…
Reference in a new issue