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