d108ec594a
- Introduces a new package, grub2-x86_64-efi-bls, which includes a straightforward grubbls.efi file. This file can be copied to the EFI System Partition (ESP) along with boot fragments in the Boot Loader Specification (BLS) format * 0001-Streamline-BLS-and-improve-PCR-stability.patch - Fix crash in bli module (bsc#1226497) * 0001-bli-Fix-crash-in-get_part_uuid.patch - Rework package dependencies: grub2-common now includes common userland utilities and is required by grub2 platform packages. grub2 is now a meta package that pulls in the default platform package. OBS-URL: https://build.opensuse.org/request/show/1196023 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=512
31 lines
945 B
Diff
31 lines
945 B
Diff
From 2fccb958910afaaf03cbec1a6b98ad197d088ad4 Mon Sep 17 00:00:00 2001
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
Date: Thu, 25 Aug 2022 17:57:55 -0400
|
|
Subject: [PATCH 4/9] blscfg: Don't root device in emu builds
|
|
|
|
Otherwise, we end up looking for kernel/initrd in /boot/boot which
|
|
doesn't work at all. Non-emu builds need to be looking in
|
|
($root)/boot/, which is what this is for.
|
|
|
|
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
|
---
|
|
grub-core/commands/blscfg.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/commands/blscfg.c b/grub-core/commands/blscfg.c
|
|
index 7132555df..150ca96f4 100644
|
|
--- a/grub-core/commands/blscfg.c
|
|
+++ b/grub-core/commands/blscfg.c
|
|
@@ -41,7 +41,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
|
|
|
|
#define GRUB_BLS_CONFIG_PATH "/loader/entries/"
|
|
#ifdef GRUB_MACHINE_EMU
|
|
-#define GRUB_BOOT_DEVICE "/boot"
|
|
+#define GRUB_BOOT_DEVICE ""
|
|
#else
|
|
#define GRUB_BOOT_DEVICE "($root)"
|
|
#endif
|
|
--
|
|
2.44.0
|
|
|