From 304c9b7031c06faad8ca92214522848fa7249a61 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 Signed-off-by: zhangbinchen --- grub.macros | 2 +- grub2.spec | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/grub.macros b/grub.macros index 2eb014a..4aa1ff2 100644 --- a/grub.macros +++ b/grub.macros @@ -222,7 +222,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 1a88aa6..8a4980b 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: 106%{?dist} +Release: 106%{anolis_release}%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base License: GPLv3+ @@ -523,6 +525,9 @@ fi %endif %changelog +* Thu Jan 13 2022 Liwei Ge - 2.02-106.0.1 +- Build pc-modules package on x86_64 + * Thu Aug 19 2021 Javier Martinez Canillas - 2.02-106 - Fix device discoverability on PowerVM when the prefix is not set (dja) Related: rhbz#1899864 -- Gitee