forked from pool/grub2
Accepting request 1082901 from home:gary_lin:branches:Base:System
- Exclude the deprecated EFI location, /usr/lib64/efi/, from Tumbleweed and ALP OBS-URL: https://build.opensuse.org/request/show/1082901 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=453
This commit is contained in:
parent
03ce3384fd
commit
05861f0e0c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 26 07:22:03 UTC 2023 - Gary Ching-Pang Lin <glin@suse.com>
|
||||||
|
|
||||||
|
- Exclude the deprecated EFI location, /usr/lib64/efi/, from
|
||||||
|
Tumbleweed and ALP
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 07:53:30 UTC 2023 - Gary Ching-Pang Lin <glin@suse.com>
|
Fri Apr 21 07:53:30 UTC 2023 - Gary Ching-Pang Lin <glin@suse.com>
|
||||||
|
|
||||||
|
@ -1051,6 +1051,7 @@ ln -srf %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/grub.efi %{buildroot}/%{
|
|||||||
%define sysefidir %{sysefibasedir}/%{_target_cpu}
|
%define sysefidir %{sysefibasedir}/%{_target_cpu}
|
||||||
install -d %{buildroot}/%{sysefidir}
|
install -d %{buildroot}/%{sysefidir}
|
||||||
ln -sr %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/grub.efi %{buildroot}%{sysefidir}/grub.efi
|
ln -sr %{buildroot}/%{_datadir}/%{name}/%{grubefiarch}/grub.efi %{buildroot}%{sysefidir}/grub.efi
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
# provide compatibility sym-link for previous shim-install and the like
|
# provide compatibility sym-link for previous shim-install and the like
|
||||||
install -d %{buildroot}/usr/lib64/efi
|
install -d %{buildroot}/usr/lib64/efi
|
||||||
@ -1061,6 +1062,7 @@ cat <<-EoM >%{buildroot}/usr/lib64/efi/DEPRECATED
|
|||||||
may vanish at any point in time. Please use the new location!
|
may vanish at any point in time. Please use the new location!
|
||||||
EoM
|
EoM
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64 aarch64
|
%ifarch x86_64 aarch64
|
||||||
export BRP_PESIGN_FILES="%{_datadir}/%{name}/%{grubefiarch}/grub.efi"
|
export BRP_PESIGN_FILES="%{_datadir}/%{name}/%{grubefiarch}/grub.efi"
|
||||||
|
Loading…
Reference in New Issue
Block a user