integ/grub/grub2/centos/meta_patches/0001-grub2-Update-package-versioning-for-TIS-format.patch
Long Li c9981d6ccc CentOS 8: Upgrade grub2 to version 2.02
(1)Release Version Upgrade
(2)Matching code changes with el7 to el8_0.1
(3)Delete useless patches
(4)Add patch "0013-grub2-fix-build-grub2-pc-modules-pkgs.patch"
(5)Add patch "0014-grub2-Create-empty-grub2-pkgs.patch"
1.Delete 0002-grub2-fix-cflags.patch:
As it has already deleted useless cflags info in el8 source code

2.Delete 0003-grub2-remove-debug-pkgs.patch:
this patch is about debug info and build env.
as gcc8.2 support debug info is dawnfs0,
it doesn't match gdb debug, gdb support dawnfs(2,3,4 or 5), we may
need not run the debug info, otherwise, if remain the patch,
it prompt error as below when rpmbuild
"Dwarf Error: wrong version in compilation unit header (is 0,
should be 2, 3, 4 or 5)"

3.Delete 0004-grub2-remove-32b-requirements.patch:
As it has already deleted the useless buildrequires in upgrade SRPM.

4.Add 0013-grub2-fix-build-grub2-pc-modules-pkgs.patch, fix to build
grub2-pc-modules-2.02-66.el8.noarch.rpm, which is depended by other package,
without the fix patch, it will missed building and prompt error for no such
pkgs when install grub2-efi pkgs procedure. so we should create it act as
el7 version work.
Depends-On: https://review.opendev.org/#/c/726511/
Change-Id: I18d35834a981036fa0ab753c9b098d82e50f1366
Story: 2006729
Task: 37681
Signed-off-by: Long Li <lilong-neu@neusoft.com>
2020-06-16 16:54:13 +08:00

26 lines
670 B
Diff

From 008445e8d11202f53190da4a12386df338549000 Mon Sep 17 00:00:00 2001
From: slin14 <shuicheng.lin@intel.com>
Date: Fri, 17 Aug 2018 22:48:46 +0800
Subject: [PATCH] Update-package-versioning-for-TIS-format
---
SPECS/grub2.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/grub2.spec b/SPECS/grub2.spec
index b471027..ccd0244 100644
--- a/SPECS/grub2.spec
+++ b/SPECS/grub2.spec
@@ -7,7 +7,7 @@
Name: grub2
Epoch: 1
Version: 2.02
-Release: 66%{?dist}.1
+Release: 66.el8_0.1%{?_tis_dist}.%{tis_patch_ver}
Summary: Bootloader with support for Linux, Multiboot and more
Group: System Environment/Base
License: GPLv3+
--
2.7.4