add support ppc64le
This commit is contained in:
parent
bd195d02f2
commit
ace74e71fc
13
grub2.spec
13
grub2.spec
@ -14,7 +14,7 @@
|
||||
Name: grub2
|
||||
Epoch: 1
|
||||
Version: 2.06
|
||||
Release: 44
|
||||
Release: 45
|
||||
Summary: Bootloader with support for Linux, Multiboot and more
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/grub/
|
||||
@ -46,8 +46,10 @@ BuildRequires: sign-openEuler
|
||||
%endif
|
||||
|
||||
%ifarch %{golang_arches}
|
||||
%ifnarch ppc64le
|
||||
BuildRequires: pesign >= 0.99-8
|
||||
%endif
|
||||
%endif
|
||||
%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
|
||||
BuildRequires: ccache
|
||||
%endif
|
||||
@ -207,6 +209,9 @@ makeinfo --html --no-split -I docs -o docs/grub.html docs/grub.texi
|
||||
%endif
|
||||
|
||||
%check
|
||||
%ifarch ppc64le
|
||||
%global grubefiarch powerpc-ieee1275
|
||||
%endif
|
||||
pushd %{_builddir}/%{?buildsubdir}/grub-%{grubefiarch}-%{tarversion}/grub-core
|
||||
make check
|
||||
popd
|
||||
@ -448,6 +453,12 @@ fi
|
||||
%{_datadir}/man/man*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 14 2024 chenyuanfeng <yuanfeng.chen@shingroup.cn> - 1:2.06-45
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:add support for ppc64le
|
||||
|
||||
* Sat Mar 2 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-44
|
||||
- Type:CVE
|
||||
- CVE:CVE-2024-1048
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user