From c35d2b95ed303be094ce25ae55686720e1209486 Mon Sep 17 00:00:00 2001 From: yangxiaoxuan Date: Mon, 8 Feb 2021 22:12:07 +0800 Subject: [PATCH] build: build pc-modules package on x86_64 Signed-off-by: yangxiaoxuan (cherry picked from commit b0824a50f8d189234d98be440c61810699df148f) Signed-off-by: zhangbinchen Change-Id: I3e8fa12853c84ca5fa135dcfc3272abe201937a1 (cherry picked from commit f1f477cae5e4dfc4b4b635a2b36d960e96ed4dc1) Signed-off-by: zhangbinchen --- grub.macros | 2 +- grub2.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/grub.macros b/grub.macros index 6279c55..b69fc21 100644 --- a/grub.macros +++ b/grub.macros @@ -209,7 +209,7 @@ %ifarch x86_64 %global with_efi_common 1 -%global with_legacy_modules 0 +%global with_legacy_modules 1 %global with_legacy_common 0 %else %global with_efi_common 0 diff --git a/grub2.spec b/grub2.spec index d60b66e..6234737 100644 --- a/grub2.spec +++ b/grub2.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + %undefine _hardened_build %global tarversion 2.02 @@ -7,7 +9,7 @@ Name: grub2 Epoch: 1 Version: 2.02 -Release: 87%{?dist}.4 +Release: 87%{anolis_release}%{?dist}.4 Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base License: GPLv3+ @@ -503,6 +505,10 @@ fi %endif %changelog +* Wed Dec 15 2021 zhangbinchen - 2.02-87.0.1.4 +- cherry-pick [f1f477c] +- Build pc-modules package on x86_64 + * Fri Jul 02 2021 Javier Martinez Canillas - 2.02-87.el8_2.4 - ieee1275: Avoiding many unecessary open/close Resolves: rhbz#1937671 -- Gitee