From ace74e71fc56b4569e73b106995819e04102be4c Mon Sep 17 00:00:00 2001 From: chenyuanfeng Date: Thu, 14 Mar 2024 15:05:40 +0800 Subject: [PATCH] add support ppc64le --- grub2.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index b6266d2..93cb06e 100644 --- a/grub2.spec +++ b/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 - 1:2.06-45 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add support for ppc64le + * Sat Mar 2 2024 zhangqiumiao - 1:2.06-44 - Type:CVE - CVE:CVE-2024-1048