fix compressed kernel verification failed

This commit is contained in:
zhangqiumiao 2022-07-23 20:07:16 +08:00
parent 3816251d7c
commit 552b2e73ce
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 0a73812b9ba12f8af4909b952751d6d5f4fd2dd2 Mon Sep 17 00:00:00 2001
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Date: Sat, 23 Jul 2022 19:54:34 +0800
Subject: [PATCH] fix compressed kernel verification failed
Signed-off-by: Yusong Gao <gaoyusong2@huawei.com>
---
include/grub/file.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/grub/file.h b/include/grub/file.h
index 96827a4..b956dbb 100644
--- a/include/grub/file.h
+++ b/include/grub/file.h
@@ -180,10 +180,10 @@ extern grub_disk_read_hook_t EXPORT_VAR(grub_file_progress_hook);
/* Filters with lower ID are executed first. */
typedef enum grub_file_filter_id
{
- GRUB_FILE_FILTER_VERIFY,
GRUB_FILE_FILTER_GZIO,
GRUB_FILE_FILTER_XZIO,
GRUB_FILE_FILTER_LZOPIO,
+ GRUB_FILE_FILTER_VERIFY,
GRUB_FILE_FILTER_MAX,
GRUB_FILE_FILTER_COMPRESSION_FIRST = GRUB_FILE_FILTER_GZIO,
GRUB_FILE_FILTER_COMPRESSION_LAST = GRUB_FILE_FILTER_LZOPIO,
--
2.27.0

View File

@ -262,3 +262,4 @@ Patch0262: backport-net-http-Fix-OOB-write-for-split-http-headers.patch
Patch0263: backport-net-http-Error-out-on-headers-with-LF-without-CR.patch Patch0263: backport-net-http-Error-out-on-headers-with-LF-without-CR.patch
Patch0264: backport-misc-Make-grub_min-and-grub_max-more-resilient.patch Patch0264: backport-misc-Make-grub_min-and-grub_max-more-resilient.patch
Patch0265: backport-EFI-allocate-kernel-in-EFI_RUNTIME_SERVICES_CODE-ins.patch Patch0265: backport-EFI-allocate-kernel-in-EFI_RUNTIME_SERVICES_CODE-ins.patch
Patch0266: fix-compressed-kernel-verification-failed.patch

View File

@ -14,7 +14,7 @@
Name: grub2 Name: grub2
Epoch: 1 Epoch: 1
Version: 2.06 Version: 2.06
Release: 10 Release: 11
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/
@ -436,6 +436,12 @@ fi
%{_datadir}/man/man* %{_datadir}/man/man*
%changelog %changelog
* Sat Jul 23 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-11
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix compressed kernel verification failed
* Wed Jun 29 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-10 * Wed Jun 29 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-10
- Type:requirement - Type:requirement
- CVE:NA - CVE:NA