normal: Remove grub_env_set prefix in grub_try_normal_prefix
Resolves: #RHEL-1601 Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
This commit is contained in:
parent
64902f6ea1
commit
490f527bca
@ -0,0 +1,27 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Frayer <nfrayer@redhat.com>
|
||||
Date: Tue, 19 Dec 2023 16:52:05 +0100
|
||||
Subject: [PATCH] normal: Remove grub_env_set prefix in grub_try_normal_prefix
|
||||
|
||||
Commit de735a453aa35 added a grub_env_set where the prefix contains
|
||||
the arch name in the pathname. This create issues when trying to
|
||||
load modules using this prefix as the pathname contains a "doubled"
|
||||
arch name in it (ie .../powerpc-ieee1275/powerpc-ieee1275/).
|
||||
|
||||
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
|
||||
---
|
||||
grub-core/normal/main.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
|
||||
index d59145f861d5..bac7b8a0e1d8 100644
|
||||
--- a/grub-core/normal/main.c
|
||||
+++ b/grub-core/normal/main.c
|
||||
@@ -372,7 +372,6 @@ grub_try_normal_prefix (const char *prefix)
|
||||
file = grub_file_open (config, GRUB_FILE_TYPE_CONFIG);
|
||||
if (file)
|
||||
{
|
||||
- grub_env_set ("prefix", prefix);
|
||||
grub_file_close (file);
|
||||
err = GRUB_ERR_NONE;
|
||||
}
|
@ -327,3 +327,4 @@ Patch0326: 0326-efi-http-change-uint32_t-to-uintn_t.patch
|
||||
Patch0327: 0327-grub-mkconfig-dont-overwrite-BLS-cmdline-if-BLSCFG.patch
|
||||
Patch0328: 0328-grub2-mkconfig-Pass-all-boot-params-when-used-by-ana.patch
|
||||
Patch0329: 0329-kern-ieee1275-init-ppc64-Restrict-high-memory-in-pre.patch
|
||||
Patch0330: 0330-normal-Remove-grub_env_set-prefix-in-grub_try_normal.patch
|
||||
|
@ -16,7 +16,7 @@
|
||||
Name: grub2
|
||||
Epoch: 1
|
||||
Version: 2.06
|
||||
Release: 71%{?dist}
|
||||
Release: 72%{?dist}
|
||||
Summary: Bootloader with support for Linux, Multiboot and more
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/grub/
|
||||
@ -533,6 +533,10 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 4 2024 Nicolas Frayer <nfrayer@redhat.com> - 2.06-72
|
||||
- normal: Remove grub_env_set prefix in grub_try_normal_prefix
|
||||
- Resolves: #RHEL-1601
|
||||
|
||||
* Thu Oct 19 2023 Nicolas Frayer <nfrayer@redhat.com> - 2.06-71
|
||||
- kern/ieee1275/init: ppc64: Restrict high memory in presence
|
||||
of fadump
|
||||
|
Loading…
Reference in New Issue
Block a user