]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
bli: Add explicit dependency on the part_gpt module
authorOliver Steffen <osteffen@redhat.com>
Thu, 16 Nov 2023 15:37:39 +0000 (16:37 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 5 Dec 2023 14:06:58 +0000 (15:06 +0100)
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 <osteffen@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/extra_deps.lst

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f44ad6a0cfb642bf389b8b46f562a5b933d9da67 100644 (file)
@@ -0,0 +1 @@
+depends bli part_gpt