From 57059ccb62f91548dae8550dcf8d5cc45fcee9c5 Mon Sep 17 00:00:00 2001 From: Oliver Steffen Date: Thu, 16 Nov 2023 16:37:39 +0100 Subject: [PATCH] bli: Add explicit dependency on the part_gpt module The bli module has a "hidden" dependency on the part_gpt module, which is not picked up automatically by the build system. One purpose of the bli module is to communicate the GPT UUID of the partition GRUB was launched from to Linux user-space (systemd-gpt-auto-generator). Without the part_gpt module, bli is not able to obtain the UUID. Since bli does its work in the module initialization function, the order in which the modules are loaded is also important: part_gpt needs to be loaded before the bli module. To solve this, track this dependency explicitly. Note that the Boot Loader Interface specification, which bli aims to implement, requires GPT formatted drives. The bli module ignores all other partition formats. Signed-off-by: Oliver Steffen Reviewed-by: Daniel Kiper --- grub-core/extra_deps.lst | 1 + 1 file changed, 1 insertion(+) diff --git a/grub-core/extra_deps.lst b/grub-core/extra_deps.lst index e69de29bb..f44ad6a0c 100644 --- a/grub-core/extra_deps.lst +++ b/grub-core/extra_deps.lst @@ -0,0 +1 @@ +depends bli part_gpt -- 2.47.2